aboutsummaryrefslogtreecommitdiff
path: root/test/compress/properties.js
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2020-04-16 22:31:33 +0100
committerGitHub <noreply@github.com>2020-04-17 05:31:33 +0800
commit0ce71bbec0c9f0d49ec86f8b959f12a7bf9df21d (patch)
treef02d7f7b8604eee716e86bd35b760c717212e758 /test/compress/properties.js
parent46d142cbf6f14692063fe52b807955ee52704a7b (diff)
downloadtracifyjs-0ce71bbec0c9f0d49ec86f8b959f12a7bf9df21d.tar.gz
tracifyjs-0ce71bbec0c9f0d49ec86f8b959f12a7bf9df21d.zip
enhance `join_vars` (#3783)
Diffstat (limited to 'test/compress/properties.js')
-rw-r--r--test/compress/properties.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/compress/properties.js b/test/compress/properties.js
index 9270f438..b23c362c 100644
--- a/test/compress/properties.js
+++ b/test/compress/properties.js
@@ -1875,8 +1875,8 @@ join_expr: {
expect: {
var c = "FAIL";
(function() {
- var a = 0;
- switch (a = { b: 0 }, a.b) {
+ var a = 0, a = { b: 0 };
+ switch (a.b) {
case 0:
c = "PASS";
}