rse / es6-features

ECMAScript 6: Feature Overview & Comparison

Home Page: https://rse.github.io/es6-features/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

support status

techfort opened this issue · comments

Hey Ralf, great work on es6-features.org
Would be nice to have each feature classified with their support status, and also I couldn't find list comprehensions, are they there and I can't find them or is it missing?
Keep it up!

What exactly do you mean by "support status"? The support in browsers and other runtimes is completely different for each one. In the FAQ there is a link to the kangax table http://kangax.github.io/compat-table/es6/. This is more info than what I could provide, I think. And most important: Babel allows you to already use all those features...

The list comprehensions were not taken over into the ES6 standard according to the latest drafts. They might occur in ES7, but definitely not in ES6. Sorry.

Hey Ralph, I suppose my question is similar to #2 in that it also extends to node.js and io.js (e.g. what flag to use to enable the feature). As es6-features.org is such a great reference it would be great if browser/node support was readily available instead of having to refer to a second source. But sure, that's up to you.

Node.js/IO.js support is available, of course. Just use the Babel require hook http://babeljs.io/docs/usage/require/ in Node.js and IO.js or use "iojs --harmony" in IO.js for a reduced ES6-support. The "node --harmony" you can forget, it uses a too old V8 engine...

See https://github.com/rse/es6-support, a new project from me where I assemble code examples which show how to use ECMAScript 6 in various scenarios.

Thanks!
On 6 Apr 2015 14:26, "Ralf S. Engelschall" notifications@github.com wrote:

See https://github.com/rse/es6-support, a new project from me where I
assemble code examples which show how to use ECMAScript 6 in various
scenarios.


Reply to this email directly or view it on GitHub
#12 (comment).