报告闭包中的用于引用外部上下文属性的 this

示例:


function Outer() {
  this.outerProp = 1;
  function inner() {
    // 不良,因为 Outer 的 'outerProp' 
    // 不会如预期的那样
    // 在调用 'new Outer()' 时在此处进行更新
    this.outerProp = 2;
  }
  inner();
}