ES6 - Getting Started Guide

ECMAScript 2015, also known as ES6, introduced significant changes in the way Javascript is written. It supports ‘Classes’ and ‘Modules’ and with a number of other features is a superset of its previous version.

Features


Let us explore the features by examples


Some of the basic features are

  1. Template Literals
  2. Arrow Functions
  3. Function Parameters
  4. Destructuring
  5. Object Literals

The most important additions in ES6 are

  1. Class
  2. Module
  3. Promise

Other important additions are listed below

  1. Data Structures
  2. Proxy
  3. Symbol
  4. Iterations
  5. Iteration Protocols
  6. Generators

Assorted list of other features/changes

  1. Miscellaneous
Share