请大佬帮忙指点一下,关于Function.prototype.bind()这个方法哦!

if(typeof Function.prototype.bind==="undefined"){
Function.prototype.bind=function(thisArg){
var fn=this,
slice=Array.prototype.slice,
args=slice.call(arguments,1);//arguments1
return function(){
return fn.apply(thisArg,args.concat(slice.call(arguments)));//arguments2
}
};
}

这里的arguments是同一个arguments吗?求解

临摹微笑
浏览 251回答 2
2回答
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

Java
JQuery