Status: Unconfirmed
Owner: ----
Labels: Type-Bug Pri-2 OS-All Area-Misc
New issue 7355 by daniminas: JSON objects are Changed
http://code.google.com/p/chromium/issues/detail?id=7355
Hi
I got a json object like:
var imgs = {
"400": {"img":"400x200.gif", "alt", "meh"},
"200": {"img":"400x200.gif", "alt", "meh"}
};
But, the thing is that when i:
for (img in this.imgs)
alert ("img");
Firefox, IEs, Opera, Safari and most of browsers returs:
1st: 400
2nd: 200
Great!
But Chrome:
1st: 200
2nd: 400
:(
I assume that Chrome orders it (but by conecept JSON isn't an array.. and
isn't "orderable" ... This is a BUG? ).
*cheers*
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---