Blueherb In solitude, where we are least alone

JS中call、apply、bind

call就是挨个传值,apply传一个数组,bind也是挨个传值

call() 和 apply() 会执行这个函数
bind并不会而是将绑定好的this重新返回一个新函数

 

posted on 2019-08-29 16:50  你妻负我→  阅读(113)  评论(0)    收藏  举报

导航