[TOC]
## 什么是ECMAScript
業界所說的ECMAScript其實是指一種規范,或者說是一個標準。具體點來說,它其實就是一份文檔。其官網地址是 http://www.ecmascript.org/ 。而我們通過所說的ECMAScript標準具體是指 ECMA-262 這份官方文檔。
目前ECMAScript釋出的最新版本是 [Fifth Edition of ECMA-262](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-262.pdf) ,不過本篇文章我們將暫時不會講ES6的相關東西。
這里有一份ES5的 [中文資料](http://yanhaijing.com/es5/) ,可以認為其是官方文檔的翻譯版。
## [ES6的新特性](http://es6-features.org/)
## [ECMAScript6的兼容性](http://kangax.github.io/compat-table/es6/)
## Is ES5 outdated? Should we use ES6 or TypeScript for building new Node APIs?
Basically, ES6 is just ES5 with a bunch of new features. ES5 is not outdated as many browsers still do not fully support ES6 specs (Node.JS LTS doesn't either). But I guess, yeah, you should start embracing ES6, now, in order to write new Node.JS APIs.
Do not worry about your team. Most of the new features are very easy to understand. I recommend taking half a day to take a look at the new features and another half to train it with your team. You can take that opportunity to show the ones without any experience a thing or two. ES6 is just JavaScript. They will have to learn it sooner or later, so why not make use of all the advantages of ES6 now?
[Here is a list](http://es6-features.org/) with new features and a comparison to ES5. You do not have to enforce everything at once. Just read through all new features and then use the things you can remember. Once you feel safe using them, take a look at other ES6 features which you can start using.
- 關于本書
- 目錄簡介
- 關于這本書你需要知道的
- 序
- 前言
- I 背景
- 1. About ECMAScript 6 (ES6)
- 2. 常見問題:ECMAScript 6
- 3. 一個JavaScript:在 ECMAScript 6 中避免版本化
- 4. 核心ES6特性
- II 數據
- 5. New number and Math features
- 6. 新的字符串特性
- 7. Symbol
- 8. Template literals
- 第9章 變量與作用域
- 第10章 解構
- 第11章 參數處理
- III 模塊化
- 12. ECMAScript 6中的可調用實體
- 13. 箭頭函數
- 14. 除了類之外的新OOP特性
- 15. 類
- 16. 模塊
- IV 集合
- 17. The for-of loop
- 18. New Array features
- 19. Maps and Sets
- 20. 類型化數組
- 21. 可迭代對象和迭代器
- 22. 生成器( Generator )
- V 標準庫
- 23. 新的正則表達式特性
- 24. 異步編程 (基礎知識)
- 25. 異步編程的Promise
- VI 雜項
- 26. Unicode in ES6
- 27. 尾部調用優化
- 28 用 Proxy 實現元編程
- 29. Coding style tips for ECMAScript 6
- 30. 概述ES6中的新內容
- 注釋
- ES5過時了嗎?
- ==個人筆記==