Destructuring objects as function parameters in ES6

added by bpwndaddy
7/29/2015 3:28:11 PM

647 Views

One of the new features available in ES6 is destructuring, which is a succinct way to extract values from objects and arrays. I won’t be covering every aspect of destructuring but I will go over my favourite usage of it which is extracting values from objects in function parameters.


0 comments