摘要: 1.构造器模式——创建类模式 ES6:class Student{ constructor(score,quality){ this.score = score this.quality = quality } sumScore(){ return this.score + this.quality 阅读全文
posted @ 2018-09-14 22:18 hh9515 阅读(371) 评论(0) 推荐(0) 编辑