diff options
Diffstat (limited to 'lib/compress.js')
-rw-r--r-- | lib/compress.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/compress.js b/lib/compress.js index 591ad4dd..3ac9e74d 100644 --- a/lib/compress.js +++ b/lib/compress.js @@ -357,10 +357,7 @@ merge(Compressor.prototype, { } function is_arguments(def) { - if (def.name != "arguments") return false; - if (!def.scope.uses_arguments) return false; - var orig = def.orig; - return orig.length == 1 && orig[0] instanceof AST_SymbolFunarg; + return def.name == "arguments" && def.scope.uses_arguments; } function is_funarg(def) { |