aboutsummaryrefslogtreecommitdiff
path: root/lib/compress.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/compress.js')
-rw-r--r--lib/compress.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compress.js b/lib/compress.js
index d5fa5663..c19091d7 100644
--- a/lib/compress.js
+++ b/lib/compress.js
@@ -11472,7 +11472,7 @@ merge(Compressor.prototype, {
var local = scope === compressor.find_parent(AST_Lambda);
var level = 0, node;
parent = compressor.self();
- do {
+ if (!(scope.uses_arguments && is_funarg(def)) || compressor.has_directive("use strict")) do {
node = parent;
parent = compressor.parent(level++);
if (parent instanceof AST_Assign) {