fix for-in loop parsing (#2144)

This commit is contained in:
Alex Lam S.L
2017-06-23 04:14:30 +08:00
committed by GitHub
parent f67a6b0e43
commit 0692435f01
4 changed files with 44 additions and 2 deletions

View File

@@ -0,0 +1,4 @@
var a, b = [1, 2];
for (1, 2, a in b) {
console.log(a, b[a]);
}