Use destructuring assignment to assign variables from objects - Helpful extra information without a giveaway

I think the primer for this lesson is a bit bare-boned. Without revealing the contents of the hint, I’ll elaborate on how the destructuring assignment works, since lack of understanding of that is what forced me to get a hint, so maybe that’s what’s in your way too.

It does not necessarily unpack all the properties of an object, nor does it unpack them in order. It’s smart, in that it reads the variables you put in the call and gets those properties. So, figure out which property or properties you want to assign to variables, and put those property names in the swirly brackets, in any order (if you want to use different names for the variables, use the colon).

If you knew that, or didn’t but are still stuck, remember that JS treats all strings as objects…

Happy Coding.