(自用面试题)ES6新特性有哪些?

58 阅读1分钟
  1. let、const这两个用于声明变量的关键字。
  2. 解构赋值。
  3. 模板字符串。
  4. 对象属性值、方法的简写方式。
  5. 拓展运算符。
  6. rest参数。
  7. 箭头函数。
  8. Set、Map数据结构。
  9. Proxy。
  10. Promise。
  11. async/await。
  12. class。
  13. ES6模块。