Comment #122 on issue 164 by [email protected]: Wrong order in Object
properties interation
http://code.google.com/p/v8/issues/detail?id=164
I managed an easy enough fix for my long suffering at the hands of
this "issue"... my keys were all numeric for an object literal being
returned by my api (see attached file for test file with sample api output)
- by adding an underscore to the beginning of the key, thus making all the
numeric keys, strings, the sort order fixed itself.
Easy to do in my position where the keys where there to avoid duplication
of array items on the server side but might not be the right fix in your
case.
I still believe this should be fixed and numeric keys iterated over in
ascending order where possible.
Attachments:
chrome.html 5.3 KB
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev