call、apply、bind | JavaScript

本章覆盖:Function.prototype.call;apply;bind;参数传递差异;bind 返回新函数;绑定 this 与部分参数;箭头函数 this 不能被 call/apply/bind 重绑定。

本章知识点

  • Function.prototype.call
  • apply
  • bind
  • 参数传递差异
  • bind 返回新函数
  • 绑定 this 与部分参数
  • 箭头函数 this 不能被 call/apply/bind 重绑定