@@ -4032,7 +4032,9 @@ merge(Compressor.prototype, {
|
||||
return all(this.elements);
|
||||
});
|
||||
def(AST_Binary, function() {
|
||||
return this.left.is_constant_expression() && this.right.is_constant_expression();
|
||||
return this.left.is_constant_expression()
|
||||
&& this.right.is_constant_expression()
|
||||
&& (this.operator != "in" || is_object(this.right.tail_node()));
|
||||
});
|
||||
def(AST_Constant, return_true);
|
||||
def(AST_Lambda, function(scope) {
|
||||
|
||||
Reference in New Issue
Block a user