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

Bug with for-cycle #61

Open
kobezzza opened this issue Oct 21, 2014 · 0 comments
Open

Bug with for-cycle #61

kobezzza opened this issue Oct 21, 2014 · 0 comments

Comments

@kobezzza
Copy link

var foo = {bar: 1};

for (let key in foo) {
    for (let key in foo) {
    }
}

=>

var foo = {bar: 1};

for (var key in foo) {
    for (var key$0 = void 0 in foo) { // WARNING - Parse error. for-in statement should not have initializer
    }
}

es6-transpiler 0.7.17

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

1 participant