更新时间:2023-08-23 07:54:52
只需使用apply()
.对于您的陈旧执行引擎,只需执行
Just use apply()
. And for your antiquated execution engines, just do this
if ( 'undefined' == typeof Function.prototype.apply )
{
Function.prototype.apply = function( context, args )
{
// whatever hacky way you want to implement it - i guess eval.
}
}