style: condition on single line
This commit is contained in:
parent
996518a0de
commit
1af9b79b63
|
|
@ -4829,8 +4829,7 @@ merge(Compressor.prototype, {
|
|||
return make_node(self.operator[0] == "=" ? AST_True : AST_False, self);
|
||||
}
|
||||
// void 0 == x => null == x
|
||||
else if (!is_strict_comparison
|
||||
&& is_undefined(self.left, compressor)) {
|
||||
else if (!is_strict_comparison && is_undefined(self.left, compressor)) {
|
||||
self.left = make_node(AST_Null, self.left);
|
||||
}
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user