@@ -2758,8 +2758,13 @@ merge(Compressor.prototype, {
|
||||
return any(this.elements, compressor);
|
||||
});
|
||||
def(AST_Assign, function(compressor){
|
||||
return this.operator != "=" && this.left.may_throw(compressor)
|
||||
|| this.right.may_throw(compressor);
|
||||
if (this.right.may_throw(compressor)) return true;
|
||||
if (!compressor.has_directive("use strict")
|
||||
&& this.operator == "="
|
||||
&& this.left instanceof AST_SymbolRef) {
|
||||
return false;
|
||||
}
|
||||
return this.left.may_throw(compressor);
|
||||
});
|
||||
def(AST_Binary, function(compressor){
|
||||
return this.left.may_throw(compressor)
|
||||
|
||||
Reference in New Issue
Block a user