+ 6

Is ECMAScript 6+ relevant this year?

I am starting to learn it but due to its compatibility issue like most of the browsers does not support some ECMAScript6+ syntaxes, I am having a doubt if I could use it this year but I'm still studying. If ever in case, how'd you get rid of the issue?

30th Sep 2018, 11:33 PM
ᴰᴼᴹᴵᴺᴼ
ᴰᴼᴹᴵᴺᴼ - avatar
4 ответов
+ 5
Getting more phones support ES6 now, there are better JavaScript language, you should use it now. Don't worry about old phone compatibility issue, you always can use Babel.js to transpiler ES6 to support old JavaScript.
1st Oct 2018, 2:35 AM
Calviղ
Calviղ - avatar
+ 5
Thanks Calviղ!
1st Oct 2018, 2:47 AM
ᴰᴼᴹᴵᴺᴼ
ᴰᴼᴹᴵᴺᴼ - avatar
+ 4
Regarding support of ES6+ features for - compiler/polyfills like babel - desktop browsers - phone browsers - or runtime environment like Node this page is quite helpful http://kangax.github.io/compat-table/es2016plus/ for ES6+ important to use the latest babel version to transpile features like destructuring. It takes 3 to 4 years for new ES versions to set by all vendors, ES6 is out more than 3 years so its supported really well. Off course Internet Explorer will always remain a problem.
3rd Oct 2018, 4:42 AM
Morpheus
Morpheus - avatar
+ 1
My codes use ES8 async/await functions, has no worry about compatibility issues.
3rd Oct 2018, 4:50 AM
Calviղ
Calviղ - avatar