xuweikang

  •   Blog
  •   Archive
  •   Category
  •   Tag
 2022-07-04
call、apply和bind的模拟实现

1. call和apply call的模拟实现 apply的模拟实现 2. bind 版本一: 版本二: 3. new 第一版: 第二版: 最终版:1. call和apply​ call方法和apply方法,实现一个就行了,两个方法除了第二个参数以外,其他完全一样。​ apply方法第二个参...

Read More
 apply  call  bind  Comment  Share
  • «
  • 1
  • 2
  • 3
  • 4
  • 5
  © xuweikang