Solution Review: Destructuring
Take a look at the solution to the destructuring challenge given in the previous lesson.
We'll cover the following...
We'll cover the following...
Solution
Let’s start by reviewing the solution code step-by-step.
Explanation
The object passed as a parameter to the getDetails() function is a nested object.
The output displays the three values given in that nested object.
nameborn