Comment #67 on issue 164 by timdown: Wrong order in Object properties interation
http://code.google.com/p/v8/issues/detail?id=164
Sigh. The fact that PHP implements ordering in its associative arrays is completely irrelevant. Yes, it would be convenient if browsers and specification agreed an enumeration order for object properties.
If you've written hundred of projects that rely on an enumeration order in JavaScript then I have little sympathy: ECMAScript specifically mentions that the order is implementation dependent (i.e. undefined), and at no point as far as I'm aware has there ever been uniform behaviour across the dominant browsers, unless it was when Netscape 2 ruled the world and was the only browser that ihad JavaScript.
-- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
