enhance assignments, booleans & conditionals (#5691)

This commit is contained in:
Alex Lam S.L
2022-10-03 01:01:23 +01:00
committed by GitHub
parent 6cdc035b2f
commit 80fc862547
6 changed files with 164 additions and 58 deletions

View File

@@ -3028,7 +3028,7 @@ issue_5673_2: {
expect: {
var a = "PASS";
console.log(function(b) {
return ((b = a) || (b = a)) && b;
return a || (b = a) && b;
}());
}
expect_stdout: "PASS"