为了账号安全,请及时绑定邮箱和手机立即绑定

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

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

临摹微笑 2021-10-13 20:11:31
if(typeof Function.prototype.bind==="undefined"){Function.prototype.bind=function(thisArg){var fn=this,slice=Array.prototype.slice,args=slice.call(arguments,1);//arguments1return function(){return fn.apply(thisArg,args.concat(slice.call(arguments)));//arguments2}};}这里的arguments是同一个arguments吗?求解
查看完整描述

2 回答

  • 2 回答
  • 0 关注
  • 250 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信