News for hackers. Stuff that matters.
Re:JavaScript at 20 by M2Ys4U on Friday May 15, 2015 @02:16PM (#9552531)
You can transpile from ES2015/16 (ES6/7) to ES5 code today. Babel[0] (formerly 6to5) is one such tool that will do just that.

[0] https://babeljs.io/

Re:JavaScript at 20 by frik on Friday May 15, 2015 @02:21PM (#9552584)
My question was: When do you switch off your transpiler and serve native ES6? In 2020?

Today we can use native JS5 and use polyfill for JS1-3 browser. In future (e.g. 2017) one will have to rely on a transpiler or stay with JS5 for many years - right?