ECMAScript 6th Edition (ES6 / ECMAScript 2015)
26 June 2022 (Updated 26 June 2022)
In a nutshell
ECMAScript 6 (ES6), later renamed to ECMAScript 2015, added lots of features to the ECMAScript language:
- Class declarations (e.g.,
class Person { ... } - ES6 modules (e.g.,
import * as myModule from '...) orexport const Foo for...ofloops- Generators
- Arrow functions
letandconst- New collections:
Map,Set,WeakMap - Promises
- Template literals
See this website for an exhaustive list.
Sources / related
Tagged:
ECMAScript
References (2)
Posts that link to this one.
Mentions (2)
Posts this one links to.