ES6 new features – Part 2
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”