diff options
author | Alex Lam S.L <alexlamsl@gmail.com> | 2018-01-04 03:18:28 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-04 03:18:28 +0800 |
commit | c598a12af956a939587059f0f4753a0631b5b372 (patch) | |
tree | e45102c752f20296a579b3bc98d501d5d7fb0f26 /test/compress | |
parent | cfe3a98ce50a1eb844654da57b4ef47a750feda5 (diff) | |
download | tracifyjs-c598a12af956a939587059f0f4753a0631b5b372.tar.gz tracifyjs-c598a12af956a939587059f0f4753a0631b5b372.zip |
apply `collapse_vars` to loop conditions (#2712)
Diffstat (limited to 'test/compress')
-rw-r--r-- | test/compress/functions.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/compress/functions.js b/test/compress/functions.js index f38977b3..b6b68982 100644 --- a/test/compress/functions.js +++ b/test/compress/functions.js @@ -1416,7 +1416,7 @@ issue_2630_5: { !function() { do { c *= 10; - } while (c += 3, (c = 2 + c) < 100); + } while ((c = 2 + (c += 3)) < 100); }(); console.log(c); } |