aboutsummaryrefslogtreecommitdiff
path: root/test/compress
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2020-09-16 23:35:22 +0100
committerGitHub <noreply@github.com>2020-09-17 06:35:22 +0800
commitfdf2e8c5b079e3977b766c271d61a10cc3ab9947 (patch)
tree6103611c78a975bc756a4ce33bcbdbe6bcd780de /test/compress
parenta9d934ab4eacc3c987a91f8e7fd176e983c36f55 (diff)
downloadtracifyjs-fdf2e8c5b079e3977b766c271d61a10cc3ab9947.tar.gz
tracifyjs-fdf2e8c5b079e3977b766c271d61a10cc3ab9947.zip
enhance `collapse_vars` (#4117)
Diffstat (limited to 'test/compress')
-rw-r--r--test/compress/drop-unused.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/compress/drop-unused.js b/test/compress/drop-unused.js
index 96273a8d..3e2b54f2 100644
--- a/test/compress/drop-unused.js
+++ b/test/compress/drop-unused.js
@@ -2181,8 +2181,7 @@ issue_3515_1: {
expect: {
var c = 0;
(function() {
- this[c++] = 0;
- for (var key20 in !0);
+ for (var key20 in !(this[c++] = 0));
})();
console.log(c);
}