ES6 学习之旅

最常用的ES6特性

1.let, const

2.class, extends, super

3.arrow function (箭头函数)

4.template string (用反引号(`)来标识起始,用${}来引用变量,而且所有的空格和缩进都会被保留在输出之中)

5.destructuring (解构)

6.default , rest

原文地址:https://www.cnblogs.com/ssrsblogs/p/6375131.html