diff options
Diffstat (limited to 'test/compress')
-rw-r--r-- | test/compress/assignments.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/compress/assignments.js b/test/compress/assignments.js index db562292..80538bd8 100644 --- a/test/compress/assignments.js +++ b/test/compress/assignments.js @@ -589,3 +589,17 @@ issue_4815_2: { expect_stdout: "PASS" node_version: ">=15" } + +issue_4819: { + options = { + comparisons: true, + } + input: { + console.log(void 0 === ([].p &&= 42)); + } + expect: { + console.log(void 0 === ([].p &&= 42)); + } + expect_stdout: "true" + node_version: ">=15" +} |