Given an object definition:
var o = {x :1, y:2, z: 3, b: 4, a: 5, m: 6, X: 7};
At enumeration time, Chrome appears to respect the order in which the attributes are defined:
for (var i in o) { console.log(i, o[i]); }
Yields:
x 1
y 2
z 3
b 4
a 5
m 6
X 7
Does JavaScript and/or the JSON specify this level of order-preservation?
In either case, is it reliable?