// 实现继承,即实现 dog instanceof Animal => true function Animal(){} function Dog(){ } dog.__proto__... === Animal.prototype Dog.prototype.__proto__ === Animal.prototype