Course · Section 9: Data Structures, Modern Operators and Strings · Lecture 110: Destructuring Objects
Implement `getUserName(user)` returning the `name` property using object destructuring renamed to a local variable.
+ 1 hidden test run on Submit.
Object destructuring pulls out name and binds it to a renamed local.
Run your code to see results.