ES6新特性

136 阅读1分钟

1、新增定义变量let和const

2、模板字符串

3、箭头函数

4、解构

5、super和extends

6、函数参数默认值

7、函数参数解构赋值

8、...扩展运算符

9、字面量简写

10、for...of循环