Closed nickzone closed 2 years ago
a.a(); // 报错,a未定义,因为对象a的原型链是 A.prototype -> Object.prototype -> null a.b(); // 可弹出 alert(2)
a.a(); // 报错,a未定义,因为对象a的原型链是 A.prototype -> Object.prototype -> null a.b(); // 可弹出 alert(2)