Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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/



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?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: