diff --git a/lib/compress.js b/lib/compress.js index a3a930f2..f426cf02 100644 --- a/lib/compress.js +++ b/lib/compress.js @@ -6559,7 +6559,7 @@ Compressor.prototype.compress = function(node) { }); return true; } - if (node instanceof AST_SymbolConst || node instanceof AST_SymbolLet) { + if (node instanceof AST_SymbolDeclaration) { references[node.definition().id] = false; return true; } diff --git a/test/ufuzz/index.js b/test/ufuzz/index.js index 9c676c95..52a8f3ba 100644 --- a/test/ufuzz/index.js +++ b/test/ufuzz/index.js @@ -2494,6 +2494,7 @@ function patch_try_catch(orig, toplevel) { var beautify_options = { compress: false, mangle: false, + module: false, output: { beautify: true, braces: true,