aboutsummaryrefslogtreecommitdiff
path: root/test/compress/functions.js
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2018-02-13 07:10:37 +0800
committerGitHub <noreply@github.com>2018-02-13 07:10:37 +0800
commitd8e0e34354ea8c93a321210ba8a01d1a88a1dbc7 (patch)
tree0cc2ab9977bfb5226f0dc7c65e895bd918959af1 /test/compress/functions.js
parent0c4f315c026e607d00dd74ad7417344a937bf6dd (diff)
downloadtracifyjs-d8e0e34354ea8c93a321210ba8a01d1a88a1dbc7.tar.gz
tracifyjs-d8e0e34354ea8c93a321210ba8a01d1a88a1dbc7.zip
collapse within unary expressions (#2910)
Diffstat (limited to 'test/compress/functions.js')
-rw-r--r--test/compress/functions.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/compress/functions.js b/test/compress/functions.js
index a964f104..2c034559 100644
--- a/test/compress/functions.js
+++ b/test/compress/functions.js
@@ -1343,7 +1343,7 @@ issue_2630_4: {
var x = 3, a = 1, b = 2;
(function() {
(function() {
- while (--x >= 0 && void (a++, b += a));
+ while (--x >= 0 && void (b += ++a));
})();
})();
console.log(a);