enhance collapse_vars & dead_code (#4491)

This commit is contained in:
Alex Lam S.L
2021-01-01 13:52:14 +00:00
committed by GitHub
parent 2dbafbb4ee
commit 0417a69c3e
6 changed files with 120 additions and 45 deletions

View File

@@ -725,7 +725,7 @@ issue_2749: {
expect: {
var a = 2, c = "PASS";
while (a--)
b = void 0, b ? c = "FAIL" : b = 1;
b = void 0, b ? c = "FAIL" : 1;
var b;
console.log(c);
}