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

@@ -458,14 +458,14 @@ issue_4325: {
}
expect: {
(function() {
(function() {
(function(c) {
try {
(void 0).p = 0;
c.p = 0;
} catch (e) {
console.log("PASS");
return;
}
})();
})(void 0);
})();
}
expect_stdout: "PASS"