Re:Why the New V8 Is So Damn Fast
by mort96 on Tuesday July 31, 2018 @08:21AM
(#17652554)
AFAIK, that's not true; the spec doesn't guarantee that it iterates in insertion order, it's just how it's commonly implemented in browsers.
[ Parent
| on HN ]
Nope, they should be iterated in their defined order: https://tc39.github.io/ecma262/#sec-ordinaryownpropertykeys
I think they added this with ES2015.