1. 作用域 let value = 1; function foo() { console.log(value); } function bar() { let value = 2; foo(); } bar() //1 2.this指向 window.name = 'ByteDance'; function A () { this.name = 123; } A.prototype.getA = function () { return this.name + 1; }; let a = new A(); let funcA = a.getA...