iteration order for Object

Charles Kendrick charles at
Fri Mar 11 12:48:44 PST 2011

Not so - order-preserving implementations are backwards compatible with non-order-preserving 
implementations.  Just rev the spec, and like any other versioned spec, developers can use the 
new behavior when they know the application environment uses only the new version.

On 3/11/2011 12:41 PM, Dean Landolt wrote:
>     Billions of JSON messages vs a handful of sites should be pretty clear cut, but I've
>     collected some numbers anyway just to make it more obvious.
> You've asserted this JSON-advantage claim several times now so you should probably know that
> keys in JSON are specifically specified as unordered. Nothing TC39 does can alter this fact --
> it won't (and /can't/) be changed. Even if ECMAScript were to go this route, nothing says that
> JSON implementations will (or must) respect this ordering. Surprises would lurk around every
> corner.
> [snipped the rest]
> _______________________________________________
> es-discuss mailing list
> es-discuss at

More information about the es-discuss mailing list