ECMA (European Computer Manufacturer’s Association) ES6 vs ES5

Shobit jain
Feb 20, 2021

There are 6 major differences between ES5 and ES6

  1. Let and constant (ES6) vs var (ES5)

2. Destructuring

3. String Templates

4. Default Arguments

5. Object Properties: Default value can be access by an object.

6. Arrow Function: Thin arrow and fat arrow.

Source of the above images ( Idiomatic Javascript )

--

--