Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


variable declarations only recognise first variable #1

michaelficarra opened this Issue · 0 comments

1 participant

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 toolness closed this issue from a commit
@joeldart joeldart fixes #1: conditionally separates variable declarations
using or caused lazy evaluation of truthy assignments. if not in a for loop, we can use ; to separate instead
@toolness toolness closed this in c73678c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.