enhance booleans (#3661)

This commit is contained in:
Alex Lam S.L
2019-12-31 13:10:05 +08:00
committed by GitHub
parent a2e4c2fd97
commit 99ac73a635
4 changed files with 23 additions and 16 deletions

View File

@@ -5863,8 +5863,8 @@ issue_2974: {
var c = 0;
(function(b) {
var a = 2;
for (; b.null = -4, c++, b.null && --a > 0;);
})(!0),
for (;c++, (!0).null && --a > 0;);
})(),
console.log(c);
}
expect_stdout: "1"