call 、 apply

call() 和 apply() 都是对this的重新指向,区别在于call()参数为参数列表,apply()参数为数组。

 

 

 

posted @ 2020-01-25 21:52  早点睡觉吧  阅读(103)  评论(0)    收藏  举报