Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
WorldMaker
on Dec 7, 2015
|
parent
|
context
|
favorite
| on:
Microsoft Edge's JavaScript engine to go open-sour...
Enumeration order was indeed (finally) added to the ES2015 spec. Here's a link to the release candidate spec for the [[OwnPropertyKeys]] algorithm:
https://people.mozilla.org/~jorendorff/es6-draft.html#sec-or...
bzbarsky
on Dec 8, 2015
[–]
[[OwnPropertyKeys]] is not invoked by a for-in loop. [[Enumerate]] is instead, and while it defines that the set of iterated names is the same as that returned by [[OwnPropertyKeys]] it explicitly says that order is not defined.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
https://people.mozilla.org/~jorendorff/es6-draft.html#sec-or...