aboutsummaryrefslogtreecommitdiff
path: root/test/compress
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2020-09-02 18:41:10 +0100
committerGitHub <noreply@github.com>2020-09-03 01:41:10 +0800
commit375ebe316d8ff1a421c1cafc95d64e3377f7737b (patch)
treebaa24cfb6cb1b5f6fef5765bda97eeca71a31389 /test/compress
parent2500930234304c89d6b9a87cb95fe07d1a8bc6c5 (diff)
downloadtracifyjs-375ebe316d8ff1a421c1cafc95d64e3377f7737b.tar.gz
tracifyjs-375ebe316d8ff1a421c1cafc95d64e3377f7737b.zip
enhance `join_vars` (#4089)
Diffstat (limited to 'test/compress')
-rw-r--r--test/compress/join_vars.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/compress/join_vars.js b/test/compress/join_vars.js
index 9f0b35b7..c2c8e1e4 100644
--- a/test/compress/join_vars.js
+++ b/test/compress/join_vars.js
@@ -277,8 +277,8 @@ join_object_assignments_forin: {
}
expect: {
console.log(function() {
- var o = { a: "PASS" };
- for (var a in o)
+ var o = { a: "PASS" }, a;
+ for (a in o)
return o[a];
}());
}