diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/compress.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/compress.js b/lib/compress.js index f8b9c8c3..0d4f7abc 100644 --- a/lib/compress.js +++ b/lib/compress.js @@ -624,6 +624,7 @@ merge(Compressor.prototype, { if (parent instanceof AST_Binary) return lazy_op[parent.operator]; if (parent instanceof AST_Conditional) return parent.condition !== node; if (parent instanceof AST_Sequence) return parent.tail_node() === node; + if (parent instanceof AST_Spread) return true; } function mark_escaped(tw, d, scope, node, value, level, depth) { |