computed properties
This commit is contained in:
@@ -952,6 +952,9 @@ merge(Compressor.prototype, {
|
||||
return false;
|
||||
});
|
||||
def(AST_ObjectProperty, function(compressor){
|
||||
if (this instanceof AST_ObjectComputedKeyVal &&
|
||||
this.key.has_side_effects(compressor))
|
||||
return true;
|
||||
return this.value.has_side_effects(compressor);
|
||||
});
|
||||
def(AST_Array, function(compressor){
|
||||
|
||||
Reference in New Issue
Block a user