Comment #129 on issue 164 by [email protected]: Wrong order in Object properties interation
http://code.google.com/p/v8/issues/detail?id=164

Work around for this issue is adding leading 0 for all integer indexes.

for example:

var a = {"foo":"bar", "03": "3", "02":"2", "01":"1"};
for(var i in a) { print(i) };

produces following output as expected:
foo
3
2
1


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to