3 ms·
You have a lot of great points but one area where I disagree is in this statement: > Es6 means something different in each environment Ecmascript 6 (or Ecmasc
by ryanolsonx 10y ago
You have a lot of great points but one area where I disagree is in this statement:
> Es6 means something different in each environment
Ecmascript 6 (or Ecmascript 2015) by definition is a specification that browsers (and others, such as nodejs) adhere to in order to support that version of JavaScript. The api and functionality are designed to be the same. So Es6 means the same thing no matter the environment. However, there places where they haven't finished implemented ES2015 quite yet.
Most modern browsers have 99% of Ecmascript 2015 all implemented. [0]
And for those that don't, there's always transpilers like Babel or TypeScript.
[0]: https://kangax.github.io/compat-table/es6/ https://kangax.github.io/compat-table/es6/