ES6 Destructuring
Destructuring assignment allows you to assign the properties of an array or object to variables using syntax that looks similar to array or object literals. This syntax can be extremely terse, while still exhibiting more clarity than the traditional property access. This new syntax was introduced in ECMAScript 2015 (ES6).
References
Categories :
ES6
JavaScript