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

Fix handlers[node.type] is not a function error in for...in loops. #232

Merged
merged 1 commit into from Dec 13, 2019

Conversation

luiscubal
Copy link
Contributor

When for (a[0] in b) is found, buble threw an error.
This commit fixes the error and adds a test.

When `for (a[0] in b)` is found, buble threw an error.
This commit fixes the error and adds a test.
@mourner mourner merged commit 616732e into bublejs:master Dec 13, 2019
@mourner
Copy link
Collaborator

mourner commented Dec 13, 2019

Thank you! TIL this is a valid JS syntax.

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

Successfully merging this pull request may close these issues.

None yet

3 participants