摘要: 一.继承 通过原型实现继承 二.继承 借用构造函数实现向父类传递参数 三.继承 组合继承 javascript function Phone(soc) { this.soc = soc; this.color = ['red', 'blue']; } Phone.prototype.getInfo 阅读全文
posted @ 2019-04-17 17:55 hid3onbush 阅读(245) 评论(0) 推荐(0) 编辑