operator && and || optimization: add "else" before "if" as intended

This commit is contained in:
kzc
2015-06-14 17:44:26 -04:00
parent fedb6191a1
commit f47b2b52a5

View File

@@ -2118,7 +2118,7 @@ merge(Compressor.prototype, {
}
}
}
if (self.operator == "||") {
else if (self.operator == "||") {
var ll = self.left.evaluate(compressor);
var rr = self.right.evaluate(compressor);
if (ll.length > 1) {