摘要: 原型链继承 // 原型链继承 function father () { this.name = '父' } father.prototype.getName = () => { console.log('父类方法') } function son () { this.name = '子' } son 阅读全文
posted @ 2020-07-14 14:22 秋风渡明月 阅读(205) 评论(0) 推荐(0) 编辑