@@ -3892,7 +3892,8 @@ merge(Compressor.prototype, {
|
||||
if (is_undeclared_ref(expr) && global_pure_fns[expr.name]) return true;
|
||||
if (expr instanceof AST_Dot && is_undeclared_ref(expr.expression)) {
|
||||
var static_fn = static_fns[expr.expression.name];
|
||||
return static_fn && static_fn[expr.property];
|
||||
return static_fn && (static_fn[expr.property]
|
||||
|| expr.expression.name == "Math" && expr.property == "random");
|
||||
}
|
||||
}
|
||||
return this.pure || !compressor.pure_funcs(this);
|
||||
|
||||
Reference in New Issue
Block a user