iteration order for Object
Erik Corry
erik.corry at gmail.com
Fri Mar 11 02:31:44 PST 2011
2011/3/11 Charles Kendrick <charles at isomorphic.com>:
> All browsers that have ever had non-negligible market share have implemented
> order-preserving
> Objects - until Chrome 6.
Just to be clear: Chrome 5 and before had a for-in ordering that
revealed internal optimization strategies. From Chrome 6 and forward
the behaviour was made consistent. There was never a version of
Chrome that consistently iterated numeric-keyed properties in
insertion order.
--
Erik Corry
More information about the es-discuss
mailing list