aboutsummaryrefslogtreecommitdiff
path: root/test/compress/collapse_vars.js
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2019-03-15 02:48:23 +0800
committerGitHub <noreply@github.com>2019-03-15 02:48:23 +0800
commitb3ef5e514dd0cefeba926401d2538907a8712b99 (patch)
treec2077a04cd6105bface587f47489652f1cd66d9f /test/compress/collapse_vars.js
parent627f5fb41eac761fec7481b7429f5edb878f9c04 (diff)
downloadtracifyjs-b3ef5e514dd0cefeba926401d2538907a8712b99.tar.gz
tracifyjs-b3ef5e514dd0cefeba926401d2538907a8712b99.zip
enhance `evaluate` (#3339)
fixes #3299
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 9873e482..6c867123 100644
--- a/test/compress/collapse_vars.js
+++ b/test/compress/collapse_vars.js
@@ -947,7 +947,7 @@ collapse_vars_misc1: {
function f8() { var b = window.a * window.z; return b + (b + 5) }
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, b = 3; return a += --b; }
+ function f11(x) { var a = 5; return a += 2; }
}
}