[ES6] Javascript 必須知道的10個 Feature

作者: danceofdie (zong)   2016-12-04 00:16:47
最近團隊在改寫上一版本的產品,從ES5 改版到 ES6。發現 ES6 除了在功能上的成熟穩定之外,它令開發者可以少打很多字,完全沒有反對使用它的理由。
在 ES5 跳糟到 ES6 的過程中參考了很多文件, 我最喜歡的是 Azat 寫的這篇文章,列了10個它的重點:
1. Default Parameters
2. Template Literals
3. Multi-line Strings
4. Destructuring Assignment
5. Enhanced Object Literals
6. Arrow Functions
7. Promises
8. Block-Scoped Constructs Let and Const
9. Classes
10. Modules
閱讀更多:
http://bit.ly/2gSfvum
https:[email protected]/*
作者: max80713   2016-12-04 14:31:00
作者: plcder (蓋頭)   2016-12-04 13:45:00
很多開發者都直接放棄IE支援了有很多其他的瀏覽器可以用
作者: arthur104 (arthur)   2016-12-04 12:35:00
推改寫
作者: ji394snoopy (asdf60513)   2016-12-04 12:09:00
但有些ie沒支援…
作者: MangoTW (不在線上)   2016-12-04 01:58:00
寫得恰到好處
作者: Kenqr (function(){})()   2016-12-04 03:02:00
繼續閱讀

Links booklink

Contact Us: admin [ a t ] ucptt.com