

Prior to ES6, the only way to declare a variable in JavaScript was the var keyword. The let KeywordĮS6 introduces the new let keyword for declaring variables. In this chapter, we will discuss some of the best ES6 features that you can use in your everyday JavaScript coding. It introduces several new features such as, block-scoped variables, new loop for iterating over arrays and objects, template literals, and many other enhancements to make JavaScript programming easier and more fun. It defines the standard for the JavaScript implementation.ĮS6 brought significant changes to the JavaScript language.

What is ECMAScript 6 (or ES6)ĮCMAScript 2015 (or ES6) is the sixth and major edition of the ECMAScript language specification standard.

In this tutorial you will learn about the new features in latest version of JavaScript.
