Loading [MathJax]/jax/output/HTML-CSS/fonts/TeX/fontdata.js

What is ES6

Next generation JavaScript comes with some handy features that make JavaScript a more mature and sophisticated language than it used to be. With the rise and popularity of node.js and the transformation of JS from a 'browser-only' to a 'general-purpose' language, more needs and solutions arose.  Here is where EcmaScript comes into play.

EcmaScript is not a programming language different from JavaScript. In fact is not a programming language at all. It is just a specification on HOW JavaScript should be written and what features JavaScript includes or not. (consider this like the current version of JavaScript to understand it better). Every now and then new features are added to JavaScript in order to make the life of developers easier. 

The biggest step JavaScript has made as a language was in 2015 with the introduction of ES2015 or ES6. This is when the biggest changes were introduced and the landscape of JavaScript took the schema as we know it today.

Some of these features you have already faced them without even knowing it, like the spread operator, the string interpolation, const and let definition variables etc.

Other notable features we will find them out throughout this walkthrough.

Notice that the current EcmaScript version is ES10 (or ES2019), so many things have been added in the meantime and you should keep yourself constantly updated with them. 

 

ES6 Next Generation JavaScript

Kostas Diakogiannis
Module by Kostas Diakogiannis, updated more than 1 year ago
No tags specified