aboutsummaryrefslogtreecommitdiff
path: root/lib/compress.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/compress.js')
-rw-r--r--lib/compress.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/compress.js b/lib/compress.js
index 04fb7855..5ceef200 100644
--- a/lib/compress.js
+++ b/lib/compress.js
@@ -1446,9 +1446,9 @@ merge(Compressor.prototype, {
compressor.warn("Boolean expression always true [{file}:{line},{col}]", self.start);
return make_node(AST_True, self);
}
- }
- if (e instanceof AST_Binary && self.operator == "!") {
- self = best_of(self, e.negate(compressor));
+ if (e instanceof AST_Binary && self.operator == "!") {
+ self = best_of(self, e.negate(compressor));
+ }
}
return self.evaluate(compressor)[0];
});