ReactJS - 01 - ECMAScript 2015 (ES6) 新特性

阅读更多
ECMAScript 2015 (ES6) : Feature Overview & Comparison

https://github.com/rse/es6-features

http://es6-features.org/




引用

class

let
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/let

function*
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function*

method definition
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Method_definitions

getter
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/get

setter
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/set

class
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes






引用


Arrow functions

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions





引用


Template literals

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals





引用


const

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/const






Get started with React

https://facebook.github.io/react/docs/installation.html












-

你可能感兴趣的:(ECMAScript,2015,ES6)