If I create an object like this:(如果我创建这样的对象:)
var obj = {};
obj.prop1 = "Foo";
obj.prop2 = "Bar";
Will the resulting object always look like this?(生成的对象会总是这样吗?)
{ prop1 : "Foo", prop2 : "Bar" }
That is, will the properties be in the same order that I added them?(也就是说,属性的顺序是否与我添加它们的顺序相同?)
ask by mellowsoon translate from so
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…