ECMAScript 6:特性概述和比较

这个网站提供了ECMAScript 6与它的老版本ECMAScript 5关于语言特性等价对比的一个概述。

1111111

对比列表

  • Constants:Support for constants (also known as “immutable variables”), i.e., variables which cannot be re-assigned new content. Notice: this only makes the variable itself immutable, not its assigned content (for instance, in case the content is an object, this means the object itself can still be altered).
  • Scoping
    • Block-Scoped Variables:Block-scoped variables (and constants) without hoisting.
    • Block-Scoped Functions:Block-scoped function definitions.
  • Arrow Functions
    • Expression Bodies:More expressive closure syntax
    • 请参照类似的结构整理

官方网站:http://es6-features.org/
开源地址:https://github.com/rse/es6-features

1 收藏

资源整理者简介:zhoutk

简介还没来得及写 :) 个人主页 · 贡献了2个资源


直接登录

推荐关注

按分类快速查找

关于资源导航
  • 伯乐在线资源导航收录优秀的工具资源。内容覆盖开发、设计、产品和管理等IT互联网行业相关的领域。目前已经收录 1439 项工具资源。
    推送伯乐头条热点内容微信号:jobbole 分享干货的技术类微信号:iProgrammer