摘要: //父类 class Person{ constructor(name) { this.name = name } eat(){ console.log(`${this.name} eat something`) } } //子类 class Student extends Person{ cons 阅读全文
posted @ 2020-05-04 11:52 夏天的西瓜君 阅读(156) 评论(0) 推荐(0) 编辑