ECMAScript 6

Advantages of JavaScript ES6 over ES5

ES6 is the 6th edition of ECMAScript, standardized in 2015. It brings many engrossing features that were not seen in previous versions like ES5. For instance, let and const, they are blocked scoped declarations and thus not prone to the common errors caused by misunderstanding. ES5 gives much space for these misunderstandings due to lack …