enhance side_effects (#4727)

This commit is contained in:
Alex Lam S.L
2021-03-03 10:47:17 +00:00
committed by GitHub
parent 04ed818f0a
commit 2a49760032
6 changed files with 64 additions and 43 deletions

View File

@@ -2723,7 +2723,7 @@ issue_4135: {
var c = function() {
var d = 0;
function f() {
d && d.p;
d && d[console];
}
f();
this;
@@ -2735,7 +2735,7 @@ issue_4135: {
0;
a++;
if (!a)
c = (a++, c = 0, void (c && c.p));
c = (a++, c = 0, void (c && console));
var c;
console.log(a, -1, c);
}