Adding years to a digital persona

Report a typo

Given an object 'person', write a single line of code to add a new property 'age' with the value 30 to it. Use dot notation in your answer.

Enter a short text

Create a free account to access the full topic