Example:

var string = "{5: 5, 2: 2, 15: 15}";
var s = Components.utils.Sandbox("http://getfirebug.com";);
Components.utils.evalInSandbox("(" + string + ")", s);

---

Executing the previous code in Fx20 results with an object that has its 
properties in the same order as defined in the |string|.


Executing the same code in Fx21 results with an object that has its properties 
numerically ordered.

Is this expected behavior?

Honza

_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to