Since ECMAScript is a standard, there can be other languages (like ActionScript) implementing ECMAScript.
ES2017 v/S ES8?
ES2017 is the most recent release by ECMAScript but is not yet fully implemented in browsers. A lot of developers call it ES8, which is officially wrong. ECMAScript dropped the convention ESX (X=digit) after ES6. So, ES7 was actually ES2016 and ES8 is actually ES2017.
However, I'm gonna use ES7/ES8 in this article as it keeps a sense of continuity.
What does ES8 brings?
ES8 is exciting in many ways. Combining ES6/ES7/ES8, here are some of my favourite things:
- async/await (ES8) - This is love. Nothing's better than transitioning from ugly callback-helled code to nice synchronous-looking asynchronous code.
- Template literals (ES6) - Template literals finally allowed devs to not keep closing and opening quotes again and again and again and again if there are variables to be included in strings.
- Arrow functions (ES6) - Extremely cool. The thing that they have lexical scoping, the thing that the "this" is parent instead of function, is useful in so many places! No more calling ".bind(this)"!
- And a lot lot more (goes in the book!)
And about the book, it'll be released next year! Hope you'll have a chance to grab one and take a good look! ;)
Subscribe to The Daily Awesome | codedamn
Get the latest posts delivered right to your inbox