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

@@ -1163,13 +1163,13 @@ issue_5182: {
log(o.p(42));
}
expect: {
var o_p = console;
log = o_p.log;
o_p = function(a) {
var o = console;
log = o.log;
o = function(a) {
console.log(a ? "PASS" : "FAIL");
return a;
};
log(o_p(42));
log(o(42));
}
expect_stdout: [
"PASS",