aboutsummaryrefslogtreecommitdiff
path: root/test/compress/collapse_vars.js
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2019-03-18 21:28:41 +0800
committerGitHub <noreply@github.com>2019-03-18 21:28:41 +0800
commit615ae37ca3a659df2ed304d7d30a43704fdd43ab (patch)
treeecf01cb2abf81f788743724159d99340862d0be7 /test/compress/collapse_vars.js
parent7aa7f21872a443cad6fe496b1a2f66e969b19f09 (diff)
downloadtracifyjs-615ae37ca3a659df2ed304d7d30a43704fdd43ab.tar.gz
tracifyjs-615ae37ca3a659df2ed304d7d30a43704fdd43ab.zip
introduce `assignments` (#3345)
Diffstat (limited to 'test/compress/collapse_vars.js')
-rw-r--r--test/compress/collapse_vars.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/compress/collapse_vars.js b/test/compress/collapse_vars.js
index 6c867123..a858e000 100644
--- a/test/compress/collapse_vars.js
+++ b/test/compress/collapse_vars.js
@@ -944,7 +944,7 @@ collapse_vars_misc1: {
function f5(x) { var z = foo(); return (5 - window.x) / z }
function f6() { return window.a * window.z && zap() }
function f7() { var b = window.a * window.z; return b + b }
- function f8() { var b = window.a * window.z; return b + (b + 5) }
+ function f8() { var b = window.a * window.z; return b + (5 + b) }
function f9() { var b = window.a * window.z; return bar() || b }
function f10(x) { var a = 5; return a += 3; }
function f11(x) { var a = 5; return a += 2; }