this的绑定:

  1. 默认绑定(fun())

  2. 隐式绑定(obj.fun())

  3. new绑定(new Fun())

  4. 显示绑定: call绑定(apply绑定)

  5. applay绑定


  1. 回调函数的绑定丢失问题

  2. 显示的绑定为null或者undefined 会怎样?

Copyright © 李振超 2018 all right reserved,powered by Gitbook
该文件最后修订时间: 2018-10-18 03:22:12

results matching ""

    No results matching ""