diff options
author | Alex Lam S.L <alexlamsl@gmail.com> | 2020-04-18 16:12:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-18 23:12:20 +0800 |
commit | 2a508c6e5f1e69e78d84480b5fc3db2f8087c166 (patch) | |
tree | f4c80e34a02e28b4d06dcccb467f0c19dbbb04d3 /test/compress | |
parent | fd6144d95baebb9eaa75b5695bd75a492479c691 (diff) | |
download | tracifyjs-2a508c6e5f1e69e78d84480b5fc3db2f8087c166.tar.gz tracifyjs-2a508c6e5f1e69e78d84480b5fc3db2f8087c166.zip |
enhance `collapse_vars` (#3799)
Diffstat (limited to 'test/compress')
-rw-r--r-- | test/compress/collapse_vars.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/compress/collapse_vars.js b/test/compress/collapse_vars.js index 17d9c981..ac87d788 100644 --- a/test/compress/collapse_vars.js +++ b/test/compress/collapse_vars.js @@ -2205,8 +2205,8 @@ var_defs: { } expect: { var f1 = function(x, y) { - var r = x + y, z = r * r - r, b = 7; - console.log(z + b); + var r = x + y, a = r * r - r, b = 7; + console.log(a + b); }; f1("1", 0); } |