call 、 apply

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

 

猜你喜欢

转载自www.cnblogs.com/wangjingzhi/p/12233475.html