es6新特性
摘要:
变量 let, const:必须直接给一个变量赋值。注意,对象的属性或数组成员还是可以改变的。 const MY_OBJECT = {some: 1}; MY_OBJECT.some = 'body'; // Cool 箭头函数:=> 字符串 方法:startsWith(),endsWith(),i 阅读全文
posted @ 2016-07-04 23:47 cag2050 阅读(275) 评论(0) 推荐(0)
posted @ 2016-07-04 23:47 cag2050 阅读(275) 评论(0) 推荐(0)
posted @ 2016-07-04 17:57 cag2050 阅读(185) 评论(0) 推荐(0)