aboutsummaryrefslogtreecommitdiff
path: root/test/compress/evaluate.js
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2021-03-05 05:18:01 +0000
committerGitHub <noreply@github.com>2021-03-05 13:18:01 +0800
commitdd30ed6a9bf108f05b103eef81d84f91ae4c6322 (patch)
tree206a02f962fcbbec0a3747789e6a17b56b31e815 /test/compress/evaluate.js
parentcb50a2d192ef8be1aac7577d6ec9c06f27b71232 (diff)
downloadtracifyjs-dd30ed6a9bf108f05b103eef81d84f91ae4c6322.tar.gz
tracifyjs-dd30ed6a9bf108f05b103eef81d84f91ae4c6322.zip
enhance `collapse_vars` (#4735)
Diffstat (limited to 'test/compress/evaluate.js')
-rw-r--r--test/compress/evaluate.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/compress/evaluate.js b/test/compress/evaluate.js
index 597c7c87..2c978fff 100644
--- a/test/compress/evaluate.js
+++ b/test/compress/evaluate.js
@@ -2726,8 +2726,8 @@ issue_3944: {
}
expect: {
void function f() {
- while (a = 0 == (a = void 0), console.log(a), void 0);
- var a;
+ while (b = void 0, b = console.log(0 == (b && b.p)), void 0);
+ var b;
f;
}();
}