enhance booleans (#5022)

closes #5021
This commit is contained in:
Alex Lam S.L
2021-06-22 17:35:50 +01:00
committed by GitHub
parent e9c902b044
commit 7c5b6f349e
7 changed files with 639 additions and 30 deletions

View File

@@ -8864,7 +8864,7 @@ issue_4732_1: {
expect: {
var a = 0;
(function(b) {
(b = a++) && (b && console.log("PASS"));
(b = a++) && console.log("PASS");
})(a++);
}
expect_stdout: "PASS"