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

variable declarations only recognise first variable #1

Closed
michaelficarra opened this issue Mar 1, 2013 · 0 comments · Fixed by #9
Closed

variable declarations only recognise first variable #1

michaelficarra opened this issue Mar 1, 2013 · 0 comments · Fixed by #9

Comments

@michaelficarra
Copy link

var a = 'toString', b = {};
a in b;

fails with "Error: no variable called b". Maybe you should look into using something more mature like Constellation/escope.

toolness added a commit that referenced this issue Mar 22, 2013
fixes #1: conditionally separates variable declarations
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 a pull request may close this issue.

1 participant