摘要: ES6(2015) 1. 类(class) class Man { constructor(name) { this.name = '小豪'; } console() { console.log(this.name); } } const man = new Man('小豪'); man.conso 阅读全文
posted @ 2021-05-13 10:26 珂珂keo 阅读(511) 评论(0) 推荐(0) 编辑