enhance collapse_vars (#3799)

This commit is contained in:
Alex Lam S.L
2020-04-18 16:12:20 +01:00
committed by GitHub
parent fd6144d95b
commit 2a508c6e5f
2 changed files with 6 additions and 2 deletions

View File

@@ -2205,8 +2205,8 @@ var_defs: {
}
expect: {
var f1 = function(x, y) {
var r = x + y, z = r * r - r, b = 7;
console.log(z + b);
var r = x + y, a = r * r - r, b = 7;
console.log(a + b);
};
f1("1", 0);
}