improve fix for #4325 (#4649)

This commit is contained in:
Alex Lam S.L
2021-02-13 18:24:57 +00:00
committed by GitHub
parent 766742e1d3
commit a6bb66931b
7 changed files with 21 additions and 22 deletions

View File

@@ -3322,7 +3322,9 @@ issue_3506_1: {
}
expect: {
var a = "FAIL";
a && (a = "PASS");
!function(b) {
b && (a = "PASS");
}(a);
console.log(a);
}
expect_stdout: "PASS"