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

请大佬帮忙指点一下,关于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 关注
  • 257 浏览

添加回答

举报

0/150
提交
取消
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号