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

"var let" should be allowed in nonstrict mode #359

Closed
nzakas opened this issue Dec 1, 2015 · 2 comments
Closed

"var let" should be allowed in nonstrict mode #359

nzakas opened this issue Dec 1, 2015 · 2 comments

Comments

@nzakas
Copy link
Contributor

nzakas commented Dec 1, 2015

The following code should be allowed in nonstrict mode but currently throws an error:

var let = 10;

Related bug from Espree: eslint/espree#149

Works correctly in Esprima and Shift.

@TimothyGu
Copy link
Contributor

Dup of #227. PR available at #317.

@nzakas
Copy link
Contributor Author

nzakas commented Dec 2, 2015

Oops, sorry!

@nzakas nzakas closed this as completed Dec 2, 2015
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

2 participants