https://fangyinghang.com/this-in-js/

func(p1, p2)

// 等同于

func.call(undefined, p1, p2)

this 就是call第一个参数,是一个context。

相关文章:

  • 2021-05-23
  • 2021-11-03
  • 2019-12-15
  • 2022-12-23
  • 2021-05-11
  • 2021-12-15
  • 2021-08-29
  • 2021-12-07
猜你喜欢
  • 2022-12-23
  • 2022-03-02
  • 2022-01-04
  • 2021-04-03
  • 2022-12-23
  • 2022-12-23
  • 2021-06-15
相关资源
相似解决方案