What is ECMAScript 6 or ES6?

ECMAScript 6 (ES6) is the specification or standard followed by many programming languages like JavaScript, JScript, ActionScript, etc. The most popular programmimg language following this specification is JavaScript, That is why many people call ECMAScript 6 JavaScript 6

New features introduced in ECMAScript 6:

The let statement allows you to declare a variable with block scope

The const statement allows you to declare a constant

ES6 allows function parameters to have default values:

Introduces a row of new methods like:

Array.find()
Array.findIndex()
Number.isInteger()
Number.isSafeInteger()

Introduces a row of new properties like:

EPSILON
MIN_SAFE_INTEGER
MAX_SAFE_INTEGER