Merge branch 'master' of github.com:babel/babel

This commit is contained in:
Sebastian McKenzie
2015-07-07 11:12:42 +01:00
3 changed files with 6 additions and 3 deletions

View File

@@ -33,8 +33,7 @@ var hoistVariablesVisitor = {
}
// for (var i in test)
// for (var i = 0;;)
if (t.isFor(parent) && (parent.left === node || parent.init === node)) {
if (t.isFor(parent) && parent.left === node) {
return node.declarations[0].id;
}