Status: New
Owner: ----
New issue 2353 by [email protected]: delete changes the order of
properties when defined with numbers
http://code.google.com/p/v8/issues/detail?id=2353
Try :
var o={};
o[0]='0';
o['abc']='abc';
o['def']='def';
o[1]='1';
delete(o['def']);
for (var n in o) {
console.log(n);
};
without delete the result is : 0,abc,def,1
with delete the result is : 0,1,abc
Note : IE does return 0,1,abc too, FF and Safari do return 0,abc,1 which is
the correct result
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev