var F = function(){}; F.prototype = Animal.prototype; Cat.prototype = new F(); Cat.prototype.constructor = Cat; alert(Cat.prototype.constructor);//Cat alert(Animal.prototype.constructor);//Animal
原型继承机制有点,牵线传输的味道.