Skip to content

Add support for spreads in object literals #98

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

Closed
wants to merge 2 commits into from

Conversation

rhendric
Copy link
Contributor

@rhendric rhendric commented Sep 4, 2019

In values, this syntax isn't legal until ECMAScript 9; but in object
destructuring binding patterns, this is an ES 6 feature. The
implementation for both ends up being the same, so this commit tests
both.

In values, this syntax isn't legal until ECMAScript 9; but in object
destructuring binding patterns, this is an ES 6 feature. The
implementation for both ends up being the same, so this commit tests
both.
@rhendric
Copy link
Contributor Author

rhendric commented Sep 5, 2019

This is embarrassing, but it seems that I was just point-blank wrong in my commentary—this entire feature isn't legal until ES 9. I could have sworn I checked the ES 6 spec for it, but I must have gotten confused. Retracting accordingly.

@rhendric rhendric closed this Sep 5, 2019
@erikd
Copy link
Owner

erikd commented Sep 5, 2019

Can you give me a PR which just reverts this commit? Nevermind, this was never merged!

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

Successfully merging this pull request may close these issues.

2 participants