We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
while(true) if(true) { let a = 1; // let declaration not directly within block }
also
if(true) //; else while(true) { let a = 1; // let declaration not directly within block }
with {}:
while(true) { if(true) { let a = 1; } } // without errors
The text was updated successfully, but these errors were encountered:
I'm sure this came up already and was fixed but both examples are broken on master still.
Sorry, something went wrong.
[[FIX]] Allow let and const to be in a block outside of a block
7cd1031
Fixes jshint#2685
Now all right. Thank you
Can you keep this open until #2686 is merged?
84a9145
3f8bd9e
No branches or pull requests
also
with {}:
The text was updated successfully, but these errors were encountered: