enhance conditionals (#5371)

This commit is contained in:
Alex Lam S.L
2022-03-02 03:00:37 +00:00
committed by GitHub
parent f8edf05c3c
commit fdbbef2991
3 changed files with 13 additions and 23 deletions

View File

@@ -1329,7 +1329,7 @@ issue_3490_2: {
expect: {
var b = 42, c = "FAIL";
var a;
for (c = "PASS", b; "" == typeof d;);
for (c = "PASS"; "" == typeof d;);
console.log(c, b);
}
expect_stdout: "PASS 42"