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

should throw on unexpected dots #1806

ghost opened this Issue Mar 27, 2017 · 0 comments


None yet
0 participants

ghost commented Mar 27, 2017

Steps to reproduce

esprima.parse('var {...{z}} = { z: 1}; console.log(z);')

Expected output

should throw an error

Actual output

Parses an AST

@ghost ghost closed this Apr 3, 2017

@ghost ghost reopened this Sep 25, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment