JavaScript中this的理解 前方就是我 2019-07-31 145 阅读1分钟 1.函数调用 默认 this --> windows 2.方法调用 默认 this --> 方法对象 3.构造函数 默认 this --> new 指向的对象 4.apply() 括号为空时,默认绑定window对象,有值时,默认绑定括号中对象