[TOC]
## 什么是ECMAScript
業(yè)界所說的ECMAScript其實(shí)是指一種規(guī)范,或者說是一個(gè)標(biāo)準(zhǔn)。具體點(diǎn)來說,它其實(shí)就是一份文檔。其官網(wǎng)地址是 http://www.ecmascript.org/ 。而我們通過所說的ECMAScript標(biāo)準(zhǔn)具體是指 ECMA-262 這份官方文檔。
目前ECMAScript釋出的最新版本是 [Fifth Edition of ECMA-262](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-262.pdf) ,不過本篇文章我們將暫時(shí)不會(huì)講ES6的相關(guān)東西。
這里有一份ES5的 [中文資料](http://yanhaijing.com/es5/) ,可以認(rèn)為其是官方文檔的翻譯版。
## [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.
- 關(guān)于本書
- 目錄簡(jiǎn)介
- 關(guān)于這本書你需要知道的
- 序
- 前言
- I 背景
- 1. About ECMAScript 6 (ES6)
- 2. 常見問題:ECMAScript 6
- 3. 一個(gè)JavaScript:在 ECMAScript 6 中避免版本化
- 4. 核心ES6特性
- II 數(shù)據(jù)
- 5. New number and Math features
- 6. 新的字符串特性
- 7. Symbol
- 8. Template literals
- 第9章 變量與作用域
- 第10章 解構(gòu)
- 第11章 參數(shù)處理
- III 模塊化
- 12. ECMAScript 6中的可調(diào)用實(shí)體
- 13. 箭頭函數(shù)
- 14. 除了類之外的新OOP特性
- 15. 類
- 16. 模塊
- IV 集合
- 17. The for-of loop
- 18. New Array features
- 19. Maps and Sets
- 20. 類型化數(shù)組
- 21. 可迭代對(duì)象和迭代器
- 22. 生成器( Generator )
- V 標(biāo)準(zhǔn)庫
- 23. 新的正則表達(dá)式特性
- 24. 異步編程 (基礎(chǔ)知識(shí))
- 25. 異步編程的Promise
- VI 雜項(xiàng)
- 26. Unicode in ES6
- 27. 尾部調(diào)用優(yōu)化
- 28 用 Proxy 實(shí)現(xiàn)元編程
- 29. Coding style tips for ECMAScript 6
- 30. 概述ES6中的新內(nèi)容
- 注釋
- ES5過時(shí)了嗎?
- ==個(gè)人筆記==
