Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Finalized namespace objects should have properties assigned as if by Array#sort. #185

Open
jdalton opened this issue Jul 10, 2017 · 0 comments

Comments

@jdalton
Copy link
Contributor

jdalton commented Jul 10, 2017

From our earlier chat discussion I mentioned an interesting case form the mutual-all cyclical tests that we produced a namespace object of { b: "b", a: "a" } while browsers produced { a: "a", b: "b" }. It turns out it's because of step 7 of this rule:

Let sortedExports be a new List containing the same values as the list exports where the values are ordered as if an Array of the same values had been sorted using Array.prototype.sort using undefined as comparefn.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant