function Animal(){
this.species = "动物";
}
function Cat(name,color){
this.name = name;
this.color = color;
}
var F = function(){};
F.prototype = Animal.prototype;
Cat.prototype = new F();
Cat.prototype.constructor = Child;
var cat1 = new Cat('1','2');
console.log(2222)
console.log(cat1.species)