/**p1{ * __proto__: Persion.prototype={ * constructor:{ * __proto__: Object.prototype={ * //最祖先 * constructor: ƒ Object() { [native code] }, * prototype: undefined, * __proto__: null, * ... * }, * prototype: undefined * }, * __proto__: Object.prototype={ * //最祖先 * constructor: ƒ Object() { [native code] }, * prototype: undefined, * __proto__: null, * ... * }, * prototype: undefined, * ... * }, * prototype: undefined * } * */ function Persion(){ this.name = "jeki" } let p1 = new Persion(); let o1 = new Object(); console.log(p1) console.log(p1.__proto__===Persion.prototype) console.log(Persion.__proto__.prototype) console.log(Persion.prototype.__proto__ === Object.prototype) console.log(Object.prototype.constructor) console.log(Persion.prototype.__proto__ === Object.prototype)