remove Symbol's argument when we're unsafe and it's undeclared
This commit is contained in:
parent
56c0b834d6
commit
4c12cccff9
|
|
@ -1831,6 +1831,11 @@ merge(Compressor.prototype, {
|
|||
}
|
||||
}
|
||||
break;
|
||||
case "Symbol":
|
||||
// Symbol's argument is only used for debugging.
|
||||
self.args = [];
|
||||
return self;
|
||||
break;
|
||||
}
|
||||
}
|
||||
else if (exp instanceof AST_Dot && exp.property == "toString" && self.args.length == 0) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user