Course · Section 9: Data Structures, Modern Operators and Strings · Lecture 111: The Spread Operator (...)
Implement `formatUser(user)` returning a string like `Ada (30)` from `user.name` and `user.age`, using a template literal.
+ 1 hidden test run on Submit.
Template literals interpolate the name and age directly into the formatted string.
Run your code to see results.