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

convert to const in for-of loops #54

Closed
j4k0xb opened this issue Sep 16, 2022 · 1 comment
Closed

convert to const in for-of loops #54

j4k0xb opened this issue Sep 16, 2022 · 1 comment

Comments

@j4k0xb
Copy link

j4k0xb commented Sep 16, 2022

should also work for

for (let item of array) {
  console.log(item);
}

->

for (const item of array) {
  console.log(item);
}
@lgrammel
Copy link
Contributor

@j4k0xb Thanks for the bug report! I've just released v1.150.3, which fixes this bug. Please re-open this issue if you still encounter the issue in v1.150.3 or higher.

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