ES6 and Modern JavaScript

ES6 and Modern JavaScript

Published by: Anil K. Panta

ES6 and Modern JavaScript

ES6 or ECMAScript 2015 is the 6th version of the ECMAScript programming language. ECMAScript is the standardization of Javascript which was released in 2015 and subsequently renamed as ECMAScript 2015.

ECMAScript and Javascript are both different.


ECMAScript: 

It is the specification defined in ECMA-262 for creating a general-purpose scripting language. In simple terms, it is a standardization for creating a scripting language. It was introduced by ECMA International and is an implementation with which we learn how to create a scripting language. 


Javascript: 

A general-purpose scripting language that confirms the ECMAScript specification. It is an implementation that tells us how to use a scripting language.


ES6

Javascript ES6 has been around for a few years now, and it allows us to write code in a clever way which basically makes the code more modern and more readable. It’s fair to say that with the use of ES6 features we write less and do more, hence the term ‘write less, do more’ definitely suits ES6. 

ES6 introduced several key features like const, let, arrow functions, template literals, default parameters, and a lot more.

We will get back to you via email or phone call