Skip to content

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
Collaborator

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