Recently I wrote a blog post and even created an online course on ES6/ES2015. Guess what? TC39 — the mighty overseer of JavaScript — is moving forward with ES8 so let’s cover ES7 and ES8 (or ES2016 and ES2017 officially). Luckily, they are much, much, much smaller than the best of a standard that was ES6. Really! ES7 has only two (2) features!
ES7 features:
Array.prototype.includes
- Exponentiation Operator
ES8 is not finalized yet as of this writing (Jan, 2017) but we can assume all finished proposals (stage 4) and most of stage 3 (more on stages here and in my course). The finished 2017 (ES8) proposals are:
Object.values
/Object.entries
- String padding
Object.getOwnPropertyDescriptors
- Trailing commas in function parameter lists and calls
- Async Functions
I won’t include stage 3 proposals in this post, but you can check the status of proposals from stage 1 to 3 here.
Let’s dive deeper into the proposals and features.