fix corner case in inline (#5297)

fixes #5296
This commit is contained in:
Alex Lam S.L
2022-01-14 20:18:35 +00:00
committed by GitHub
parent 87e8aca245
commit dfd6418878
4 changed files with 59 additions and 17 deletions

View File

@@ -595,10 +595,10 @@ issue_3600_2: {
expect: {
var c = 0;
(function() {
if ([][c++]) {
var b = --b;
if ([][c++])
b = --b,
c = 42;
}
var b;
})();
console.log(c);
}