diff options
Diffstat (limited to 'lib/compress.js')
-rw-r--r-- | lib/compress.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compress.js b/lib/compress.js index 90dd0f27..bab390cf 100644 --- a/lib/compress.js +++ b/lib/compress.js @@ -4800,7 +4800,7 @@ merge(Compressor.prototype, { return true; } if (node instanceof AST_ForIn) { - if (!compressor.option("loops")) return; + if (!drop_vars || !compressor.option("loops")) return; if (!is_empty(node.body)) return; if (node.init.has_side_effects(compressor)) return; node.object.walk(tw); |