simplify conditions
This commit is contained in:
parent
7de03480d5
commit
336a034404
|
|
@ -79,9 +79,7 @@ SymbolDef.prototype = {
|
|||
if (!options.screw_ie8 && sym instanceof AST_SymbolLambda)
|
||||
s = s.parent_scope;
|
||||
var def;
|
||||
if (options.screw_ie8
|
||||
&& sym instanceof AST_SymbolCatch
|
||||
&& (def = this.defun.variables.get(this.name))) {
|
||||
if (this.defun && (def = this.defun.variables.get(this.name))) {
|
||||
this.mangled_name = def.mangled_name || def.name;
|
||||
} else
|
||||
this.mangled_name = s.next_mangled(options, this);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user