3 ms·
Is the only solution to transpile ES6 to ES5 until 2025 or whenever IE11, Safari 7 and all current Smart TVs and Cars and what not have their end-of-life and si
by frik 11y ago
Is the only solution to transpile ES6 to ES5 until 2025 or whenever IE11, Safari 7 and all current Smart TVs and Cars and what not have their end-of-life and simply vanish? Let's remember the problems with Internet Explorer 6 and its long actual lifetime. At the moment IE8 (WinXP), IE11 (Win8) as well as various other browsers will never receive an update on their platforms.
- AlexeyBrin 11y agoI'm pretty sure that at some point someone will create a library to test for ES6 compatibility when the JS code loads, I envision something like: if ES6 { use "mycode_js6.js"; } else { use "mycode_js6_to_js5.js"; } or something similar.
- TazeTSchnitzel 11y ago> Is the only solution to transpile ES6 to ES5 until 2025 or whenever IE11, Safari 7 and all current Smart TVs and Cars and what not have their end-of-life and simply vanish? Well, it depends who your target audience is. If users with old browsers don't matter, you don't need to transpile.