Before diving into the core concepts like ‘Class’ and ‘Promises’ of ES6, let us see some minor changes which really helps in daily life coding. Destructuring Assignment Destructuring assignment on arrays allows for much more efficient array manipulation and assigns multiple variables from array data based on the index value.
let arr = [10,20];
let [first,second] = arr;
Destructuring assignment on objects … Continue reading “ES6 new features – Part 2”
Installing node.js is very simple and it happens in just some clicks. Click on the Macintosh installer on the download screen. Follow the instructions to install Node in your mac, Finally, it prompts to make sure the $path is same as node.js is referring to. To verify, open terminal and type echo “$PATH”. Usually, it … Continue reading “Installing Node.js and Express.js in Mac”