New ES6 Features

ECMAScript 6, also known as ECMAScript 2015, is the latest version of the ECMAScript standard. Implementation of these features in major JavaScript engines is underway now. See the ES6 standard for full specification of the ECMAScript 6 language.   ES6 includes the following new features: Arrow Function Classes Destructuring Constant and let Arrow Function: Arrow functions are a new ES6 syntax for writing JavaScript Functions. They will save developers time and simplify function scope. ES6 fat arrow functions have a shorter syntax compared to function expressions and lexically bind to this value. Arrow Function Syntax:

JavaScript function can be written in two ways …

Continue Reading