ECMAScript: A general purpose, cross-platform programming language. This was the first version of the ECMAScript standard.
The sixth edition of the ECMAScript standard is ES6 or ECMAScript 6. It is also known as ECMAScript 2015.
Difference between ES5 and ES6.
|Defining Variables||In ES5, we could only define the variables by using the var keyword.||In ES6, there are two new ways to define variables that are let and const.|