Destructuring in JavaScript

Destructuring assignment is one of the most flexible, simplest feature in modern JavaScript. It’s a JavaScript expression that makes it possible to unpack values from Arrays, properties from Objects, or even Function params, into distinct variables.
Read more

Similar