sajad torkamani

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 '...) or export const Foo
  • for...of loops
  • Generators
  • Arrow functions
  • let and const
  • New collections: Map, Set, WeakMap
  • Promises
  • Template literals

See this website for an exhaustive list.

Sources / related

Tagged: ECMAScript