特牛生活网

前端必会面试题-CSDN博客

网友收藏
1.类的创建和继承(1)原型链的继承function Animal(){ this.name="猫"; this.sex="雌性"; } Animal.prototype.say="您好"; function Cat(){ this.a="123"; th...