摘要: 一.借用原型对象实现继承 class Person { constructor (name, age) { this.name = name this.age = age } info () { console.log("I am " + this.name) } } class Student e 阅读全文
posted @ 2020-07-09 00:09 Chasssser 阅读(152) 评论(0) 推荐(0) 编辑