improve synergy between collapse_vars & unused (#2521)

This commit is contained in:
Alex Lam S.L
2017-11-28 14:02:39 +08:00
committed by GitHub
parent ecc9f6b770
commit 32def5ebf5
4 changed files with 48 additions and 49 deletions

View File

@@ -972,8 +972,8 @@ inner_var_for_2: {
}
expect: {
!function() {
a = 1;
for (var b = 1; --b;) var a = 2;
var a = 1;
for (var b = 1; --b;) a = 2;
console.log(a);
}();
}