ES6简单学习小结(一)

发布于 2022-01-07  152 次阅读


  • var -> const and let
    scope of variables changes

  • template strings

    1. ${ it can be any value }
    2. it can also be embedded in html demos
  • default paraments in function
    which like that in python

  • arrow functions
    I can not understand it well..... ,especially the scope of it.

  • polyfilling and transpilling(transfer compile)