摘要:
obj.call(thisObj, arg1, arg2, ...); obj.apply(thisObj, [arg1, arg2, ...]); 两者作用一致,都是把obj(即this)绑定到thisObj,这时候thisObj具备了obj的属性和方法。或者说thisObj『继承』了obj的属性 阅读全文
posted @ 2017-07-07 17:46
278108678
阅读(147)
评论(0)
推荐(0)
摘要:
好的开始是成功的一半~~~ 阅读全文
posted @ 2017-07-07 15:16
278108678
阅读(87)
评论(0)
推荐(0)

浙公网安备 33010602011771号