Skip to content

Instantly share code, notes, and snippets.

@zhaoda
Created July 16, 2014 09:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zhaoda/fa60330d881b7afd56d9 to your computer and use it in GitHub Desktop.
Save zhaoda/fa60330d881b7afd56d9 to your computer and use it in GitHub Desktop.
ES6新特性

考察对ES6的掌握程度,说的越多越好,只要说出下面的一些关键词就行。

  1. 语法糖
  2. 解构
  3. Let和Const
  4. For-Of
  5. 箭头函数 =>
  6. 延伸操作符
  7. 剩余变量
  8. 默认参数
  9. 模块
  10. 映射和集合
  11. 迭代器 yield
  12. 弱映射
  13. Proxies
  14. Promises

注意,上面的关键词只包含ES6的部分特性,并不全面

参考资料:

  1. https://github.com/lukehoban/es6features
  2. http://www.html-js.com/article/1715
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment