collapse within unary expressions (#2910)

This commit is contained in:
Alex Lam S.L
2018-02-13 07:10:37 +08:00
committed by GitHub
parent 0c4f315c02
commit d8e0e34354
2 changed files with 4 additions and 1 deletions

View File

@@ -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);