Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

14
  • 17
    Chrome implements a different order to other browsers. See code.google.com/p/v8/issues/detail?id=164 Commented Apr 2, 2011 at 21:17
  • 9
    Opera 10.50 and above, as well as IE9, match Chrome's order. Firefox and Safari are now a minority (and both of them also use different orders for Objects/Arrays). Commented Apr 3, 2011 at 0:03
  • 1
    @Veverke there is explicitly no guarantee on order so one should always assume that the order is effectively random. Commented Mar 10, 2015 at 14:11
  • 1
    @Veverke No, the order is nothing like that predictable. It's implementation dependent and subject to change at any time, and could change (for example) every time your browser updates itself. Commented Mar 10, 2015 at 14:15
  • 4
    This answer is false in ES2015. Commented Sep 30, 2015 at 18:53