enhance collapse_vars (#4885)
This commit is contained in:
@@ -4724,7 +4724,7 @@ cascade_statement: {
|
||||
}
|
||||
function f3(a, b) {
|
||||
for (; a < b; a++)
|
||||
if ((c = a) && b)
|
||||
if (c = a, a && b)
|
||||
var c = c = b(a);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -232,8 +232,9 @@ issue_4736: {
|
||||
expect: {
|
||||
(function() {
|
||||
(function() {
|
||||
var b = 1 << 30;
|
||||
0,
|
||||
console.log(1073741824);
|
||||
console.log(b);
|
||||
})();
|
||||
})();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user