Destructuring is a new feature in ECMAScript 2015. Destructuring allows binding a set of variables to a corresponding set of values (objects and arrays) anywhere we can bind a value to a single variable. Today we are already doing destructuring (extracting values) almost in every JavaScript program, but we do it manually. To understand destructuring…
I have been exploring and working on ECMAScript 2015 (formerly know as ECMAScript 6/ES6). I am going to blog about all the new ECMAScript 2015 features. Here is the list of blogposts: Destructuring in ECMAScript 2015 Spread Operator in ECMAScript 2015
Follow the below steps to use ECMAScript 2015 (formerly known as ECMAScript 6) while writing gulp file. Step 1: From gulp 3.9 version onwards we can use ECMAScript 2015, so make sure you installed the latest version of gulp into your project. Check the gulp version before proceeding, run the following command at root of…