ECMAScript 6th Edition (ES6 / ECMAScript 2015)
26 June 2022 (Updated 26 June 2022)
On this page
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...of
loops- Generators
- Arrow functions
let
andconst
- New collections:
Map
,Set
,WeakMap
- Promises
- Template literals
See this website for an exhaustive list.
Tagged:
ECMAScript
Thanks for your comment 🙏. Once it's approved, it will appear here.
Leave a comment