diff options
Diffstat (limited to 'lib/compress.js')
-rw-r--r-- | lib/compress.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/compress.js b/lib/compress.js index 41578c14..16812571 100644 --- a/lib/compress.js +++ b/lib/compress.js @@ -1416,7 +1416,8 @@ merge(Compressor.prototype, { return exp[0]; } if (compressor.option("comparisons")) { - if (!(compressor.parent() instanceof AST_Binary)) { + if (!(compressor.parent() instanceof AST_Binary) + || compressor.parent() instanceof AST_Assign) { var negated = make_node(AST_UnaryPrefix, self, { operator: "!", expression: self.negate(compressor) |