会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
chengmiao
新随笔
联系
管理
2015年5月28日
this软绑定
摘要: 当this不存在,或为undefined || window时,那么就用传入的Obj为this,否则就用当前的this。if(!Function.prototype.softBind){ Function.prototype.softBind = function(obj){ var fn = t...
阅读全文
posted @ 2015-05-28 15:55 何君
阅读(227)
评论(0)
推荐(0)
编辑
公告