1. const、let关键字
let块级作用域
const常量,引用类型可以改变属性
2. 函数
箭头函数=>:永远是匿名的

this使用
函数默认参数
Rest参数: 函数最后一个参数有" ... "前缀,会变成参数数组

3. 展开操作符 " ... "

4. 模板字符串 ``

5. 解构赋值

6. 类 class
7. 模块
export导出模块
import加载模块

1. const、let关键字
let块级作用域
const常量,引用类型可以改变属性
2. 函数
箭头函数=>:永远是匿名的
this使用
函数默认参数
Rest参数: 函数最后一个参数有" ... "前缀,会变成参数数组
3. 展开操作符 " ... "
4. 模板字符串 ``
5. 解构赋值
6. 类 class
7. 模块
export导出模块
import加载模块
本文标题:ES6(ES2015)标准
本文链接:https://www.haomeiwen.com/subject/ahfxuftx.html
网友评论