fix corner case in inline (#5410)

fixes #5409
This commit is contained in:
Alex Lam S.L
2022-04-06 05:23:47 +01:00
committed by GitHub
parent ccd77d70db
commit 998c9792da
4 changed files with 50 additions and 20 deletions

View File

@@ -1258,8 +1258,7 @@ issues_3267_1: {
}
expect: {
!function() {
var i = Object();
if (i)
if (Object())
return console.log("PASS");
throw "FAIL";
}();