3 ms·
> object (not guaranteed to be ordered) This is true as per the ECMAScript spec, but realistically you can count on it (unless your keys are stringified number
by thedufer 12y ago
> object (not guaranteed to be ordered)
This is true as per the ECMAScript spec, but realistically you can count on it (unless your keys are stringified numbers). On the server side of things, this is explicitly depended on in a number of places - the most visible that I know of is Mongo's REPL and its node.js drivers (specifying complex sorting/indexing depends on the objects being ordered).