diff options
Diffstat (limited to 'lib')
-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 2bbd9704..f3fe8a8e 100644 --- a/lib/compress.js +++ b/lib/compress.js @@ -3913,7 +3913,7 @@ merge(Compressor.prototype, { if (node instanceof AST_Assign) { if (!in_use || node.left === sym && def.id in fixed_ids && fixed_ids[def.id] !== node) { value = get_rhs(node); - if (node.write_only) { + if (node.write_only === true) { value = value.drop_side_effect_free(compressor) || make_node(AST_Number, node, { value: 0 }); |