4 ms·
I just recently dealt with a JS library that was expecting object properties to be in a certain order ("works" in ES2015 [1]), and that object was loaded via JS
by jmiserez 7y ago
I just recently dealt with a JS library that was expecting object properties to be in a certain order ("works" in ES2015 [1]), and that object was loaded via JSON. Was a huge pain getting the object in the required order.
[1] https://stackoverflow.com/questions/5525795/does-javascript-guarantee-object-property-order https://stackoverflow.com/questions/5525795/does-javascript-...