fix corner case in side_effects (#4752)

fixes #4751
This commit is contained in:
Alex Lam S.L
2021-03-07 20:19:51 +00:00
committed by GitHub
parent 31e7d25cad
commit f52b0e7c31
9 changed files with 277 additions and 45 deletions

View File

@@ -2726,8 +2726,8 @@ issue_3944: {
}
expect: {
void function f() {
while (b = void 0, b = console.log(0 == (b && b.p)), void 0);
var b;
while (a = 0 == (a = void 0), console.log(a), void 0);
var a;
f;
}();
}