1. this 作用于普通函数使用 function fn() { console.log(this) //this === window } 2. this 作用于 call, apply, bind 这里也顺便写出 call, apply 和 bind 的用法和区别, 之前刚接触这3种方法的时候弄的有点懵 const obj = { num: 2 } const arr = [1,2,3] function AddTwo (a) { console.log(typeof this) // object console.log(this)