JavaScript 中的 this 指向全局的 this全局 this 一般指向全局对象,浏览器中的全局对象就是 window。
例如:
console.log(this.document === document); //true
co
2019-06-12