📅  最后修改于: 2022-03-11 15:03:22.404000             🧑  作者: Mango
console.log(Dog.prototype);
// constructor: ƒ Dog(name, breed) bark: ƒ bark()
console.log(dog1.__proto__);
// constructor: ƒ Dog(name, breed) bark: ƒ bark()