diff --git a/lib/compress.js b/lib/compress.js index 6b480390..f6fe0f48 100644 --- a/lib/compress.js +++ b/lib/compress.js @@ -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) {