enhance unused (#3662)

This commit is contained in:
Alex Lam S.L
2019-12-31 23:39:24 +08:00
committed by GitHub
parent 99ac73a635
commit d83d3d741a
3 changed files with 94 additions and 9 deletions

View File

@@ -266,12 +266,7 @@ issue_2084: {
}
expect: {
var c = 0;
!function() {
var c;
c = 1 + (c = -1),
c = 1 + (c = 0),
0 !== 23..toString() && (c = 1 + c);
}(),
23..toString(),
console.log(c);
}
expect_stdout: "0"