diff --git a/lib/compress.js b/lib/compress.js index 35ea6c77..b6481198 100644 --- a/lib/compress.js +++ b/lib/compress.js @@ -2062,6 +2062,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) {