会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
carry,carry
博客园
首页
新随笔
新文章
联系
管理
订阅
2020年6月3日
模拟实现call,apply,bind方法,以及三者区别
摘要: // 模拟实现call方法 Function.prototype.call2 = function (context) { var context = context || window; context.fn = this; var args = []; for(var i = 1, len =
阅读全文
posted @ 2020-06-03 16:12 carry,carry
阅读(298)
评论(0)
推荐(0)
编辑
公告