Destructuring Assignment to Assign Variables from Objects!

This one comes up often. A suggestion, if I may, and this goes for all sorts of things: use the search feature in the forums!

See that handy magnifying lens in the header of this page? Search for “Destructuring Assignment to Assign Variables” and a list of search results will appear. One of which is this post, in which I discuss this exact situation.

1 Like