最常用的ES6特性

1.let, const

2.class, extends, super

3.arrow function (箭头函数)

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

5.destructuring (解构)

6.default , rest

 

相关文章:

  • 2021-10-05
  • 2021-09-21
  • 2022-01-16
  • 2022-01-07
  • 2021-07-29
  • 2021-11-04
  • 2021-07-04
  • 2021-06-02
猜你喜欢
  • 2021-11-27
  • 2021-05-22
  • 2021-06-14
  • 2021-07-01
  • 2021-06-16
相关资源
相似解决方案