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

Rb/sort clarification #53

Merged
merged 2 commits into from Sep 10, 2019

Conversation

@rickbutton
Copy link
Collaborator

commented Sep 10, 2019

No description provided.

@rricard rricard merged commit bb1f1e4 into master Sep 10, 2019

from regular objects, where insertion order is preserved when enumerating properties
(except for properties that parse as numerics, where the behavior is undefined).
When the properties of a `Record` or `Tuple` are enumerated, their keys are enumerated in *sorted order*, where
*sorted order* effectively means "according to the sort order defined by `Array.prototype.sort`".

This comment has been minimized.

Copy link
@ljharb

ljharb Sep 10, 2019

with the default comparator?

This comment has been minimized.

Copy link
@rickbutton

rickbutton Sep 10, 2019

Author Collaborator

yep, I should have clarified, with the default comparator, so by unicode code point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.