ECMA script is also know as JavaScript 6(ES6).
JavaScript ECMA Script 6 is introduce some of new features. Such as-
*JavaScript let
*JavaScript Const
*Default parameter values

The let statement allow you to declare a variable with block scope and this of you can change dynamically. For example
Const arr=[“ram”,”shyam”,”lakshaman”];
for(let i=0;i<arr.length;i++){

The Const statement allow you to declare a constant variable with a constant value.
Constant variable are similar to let variable but constant variable value can’t be changed.

News Reporter
IT Software and web development, Core PHP, JavaScript, JQuery, HTML, CSS, CakePHP, Angularjs, Codeigniter etc.

1 thought on “ECMA Script 6 in JavaScript

Leave a Reply

Your email address will not be published. Required fields are marked *