Overview
Some sources for this material:
- https://www.taniarascia.com/es6-syntax-and-feature-overview/
- https://www.javatpoint.com/es6
- https://www.w3schools.com/Js
ES6 or ECMAScript 6 - scripting language spec, standardized by ECMAScript International.
This spec governs some languages such as JavaScript, ActionScript, and Jscript.
ECMAScript is generally used for client-side scripting; also used for writing server applications and services, using Node.js.
ES6 allows writing more readable code. With ES6 features, we write less and do more.
This tutorial introduces you to the implementation of ES6 in JavaScript.
Some History
8th Edition - ECMAScript 2017.
The 8th edition was officially known as ECMAScript 2017, which was finalized in June 2017. It includes the async/await constructions which work using promises (In CS future, promise, deferred, and delay refers to the constructs which are used to synchronize the execution of the program in some concurrent programming languages) and generators.
9th Edition - ECMAScript 2018.
The 9th edition was officially known as ECMAScript 2018, which was finalized in June 2018. It includes the new features like the rest/spread operators for variables (three dots: …identifier), asynchronous iteration, etc.