Prevent error for Function(""). Close #538
This commit is contained in:
parent
e3066f9577
commit
548beeb6b1
|
|
@ -1745,6 +1745,7 @@ merge(Compressor.prototype, {
|
|||
} catch(ex) {
|
||||
if (ex !== ast) throw ex;
|
||||
};
|
||||
if (!fun) return self;
|
||||
var args = fun.argnames.map(function(arg, i){
|
||||
return make_node(AST_String, self.args[i], {
|
||||
value: arg.print_to_string()
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user