Course · Section 8: How JavaScript Works Behind the Scenes · Lecture 104: Object References in Practice (Shallow vs. Deep Copies)
Implement `addAge(person, age)` that sets the `age` property on the passed object and returns it. Objects are shared by reference.
+ 1 hidden test run on Submit.
Because objects are passed by reference, assigning a property changes the caller's object.
Run your code to see results.