60
rated 0 times
[
62]
[
2]
/ answers: 1 / hits: 32409
/ 14 Years ago, sun, may 9, 2010, 12:00:00
JavaScript objects have no order stored for properties (according to the spec). Firefox seems to preserve the order of definition of properties when using a for...in
loop. Is this behaviour something that I can rely on? If not is there a piece of JavaScript code somewhere that implements an ordered hash type?
More From » javascript