ECMAScript:Harmony / ES6 to JavaScript compiler

后端 未结 8 945
隐瞒了意图╮
隐瞒了意图╮ 2020-12-12 13:37

After reading Peter\'s article on JavaScript I noticed

Brendan Eich stated that one the goals for Harmony is to be a better target for to-JavaScript c

8条回答
  •  情深已故
    2020-12-12 14:31

    I'm not sure in what instance compilation back to ES3 would valuable as opposed to ES5, seeing that implementation changes are limited to array and object helper functions, and ES5 support is so prevalent.

    So for completeness, another ES6 to ES5 compiler is the esnext project by Square. It is a collection of a number of modules designed to polyfill various ES6 features provided in one package. Here is the list modules included: https://github.com/square/esnext#available

提交回复
热议问题