fix AST_VarDef.may_throw() (#2580)
This commit is contained in:
@@ -2399,6 +2399,7 @@ merge(Compressor.prototype, {
|
||||
return this.expression.may_throw(compressor);
|
||||
});
|
||||
def(AST_VarDef, function(compressor){
|
||||
if (!this.value) return false;
|
||||
return this.value.may_throw(compressor);
|
||||
});
|
||||
})(function(node, func){
|
||||
|
||||
Reference in New Issue
Block a user