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 )

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

No responses yet

Write a response