implement keep_fargs for mangle (#5307)

closes #4657
This commit is contained in:
Alex Lam S.L
2022-01-20 21:13:26 +00:00
committed by GitHub
parent efed55f42d
commit e24b255350
20 changed files with 507 additions and 267 deletions

View File

@@ -457,11 +457,11 @@ issue_5091: {
console.log(f("FAIL 1") || "PASS");
}
expect: {
function f(b) {
var b = b.p;
function f(a) {
var a = a.p;
var c;
b?.[c = "FAIL 2"];
return b || c;
a?.[c = "FAIL 2"];
return a || c;
}
console.log(f("FAIL 1") || "PASS");
}