fix corner case in unused (#5847)

fixes #5843
This commit is contained in:
Alex Lam S.L
2024-06-17 04:36:02 +03:00
committed by GitHub
parent 8dc99fa25f
commit 87c9edbbc7
5 changed files with 61 additions and 6 deletions

View File

@@ -2293,7 +2293,7 @@ issue_5340_3: {
}
expect: {
var a;
(function() {})(a = true["p"]);
(function() {})(a = true.p);
console.log(a);
}
expect_stdout: "undefined"