diff options
author | Alex Lam S.L <alexlamsl@gmail.com> | 2020-02-12 01:01:17 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-12 01:01:17 +0000 |
commit | dd22eda888380be41f47bba1f6740b283fb099cc (patch) | |
tree | a05f054dab3555b5f373ca5ac0c01bc0167c69b3 /test/compress/reduce_vars.js | |
parent | f4c77886e748ff5945b73f2584916ec3b760ee98 (diff) | |
download | tracifyjs-dd22eda888380be41f47bba1f6740b283fb099cc.tar.gz tracifyjs-dd22eda888380be41f47bba1f6740b283fb099cc.zip |
enhance `evaluate` (#3714)
Diffstat (limited to 'test/compress/reduce_vars.js')
-rw-r--r-- | test/compress/reduce_vars.js | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/test/compress/reduce_vars.js b/test/compress/reduce_vars.js index 3331732a..6db0a477 100644 --- a/test/compress/reduce_vars.js +++ b/test/compress/reduce_vars.js @@ -2071,13 +2071,8 @@ issue_1670_6: { } expect: { (function(a) { - switch (1) { - case a = 1: - console.log(a); - break; - default: - console.log(2); - } + a = 1; + console.log(a); })(1); } expect_stdout: "1" |