Very nice additions.
However, I wonder how long it'll take till we can actively use them in production code...
However, I wonder how long it'll take till we can actively use them in production code...
Alternatively, many ES.next features can be experimented with using Google's
Traceur transpiler (useful unit tests with examples here) and there are shims
available for other features via projects such as ES6-Shim and Harmony
Collections.'
There's also another quite comprehensive ES6 transpiler named six:
https://github.com/matthewrobb/sixIE9 still can't draw stroked text, for example.
The compatibility table is here: http://kangax.github.com/es5-compat-table/es6/
Result: IE10 supports exactly zero of these features. We can start using them (maybe) once IE10 is dead.
Because Microsoft has bet on JavaScript heavily for Windows 8 apps (at least for now), and Windows 8 apps have full support for ES5, they have very good insights about ES5.
ES6 is still "coming". Many features are still in flux, and I don't blame Microsoft for not committing to in-flux ES6 features in the timeline of IE10.