Ask HN: Which version of JavaScript are you using for public websites in 2018?

2 points by bakery2k ↗ HN
Based on the compatibility table at [1], current browsers (with the exception of Internet Explorer) widely support ES6 and also include significant support for ES2016+.

Would you be happy to ship ES6 (or even newer) code as part of a public website in 2018?

If not, would you recommend writing ES6 code and transpiling to ES5 (using Babel or similar)? Or just sticking to writing ES5 code, avoiding ES6 features altogether?

Are there other reasons not to use ES6, apart from the lack of support in Internet Explorer?

[1] https://kangax.github.io/compat-table/es6/

0 comments

[ 4.9 ms ] story [ 10.3 ms ] thread

No comments yet.