| | |
| | | AST_Call.DEFMETHOD("is_callee_pure", function(compressor) { |
| | | if (compressor.option("unsafe")) { |
| | | var expr = this.expression; |
| | | var first_arg = (this.args && this.args[0] && this.args[0].evaluate(compressor)); |
| | | var first_arg; |
| | | if ( |
| | | expr.expression && expr.expression.name === "hasOwnProperty" && |
| | | (first_arg == null || first_arg.thedef && first_arg.thedef.undeclared) |
| | | ( |
| | | (first_arg = (this.args && this.args[0] && this.args[0].evaluate(compressor))) == null |
| | | || first_arg.thedef && first_arg.thedef.undeclared |
| | | ) |
| | | ) { |
| | | return false; |
| | | } |