摘要: 'use strict' class Student { constructor(_name,age){ this.name = _name; this.age = age; } set name(_name){ this._name = 'aaa'+_name; }; get name(){ ... 阅读全文
posted @ 2016-07-06 18:37 飘然离去 阅读(143) 评论(0) 推荐(0) 编辑
摘要: es5中新添加的方法比如map,reduce之类的 阅读全文
posted @ 2016-07-06 11:09 飘然离去 阅读(104) 评论(0) 推荐(0) 编辑