Challenge: Catch the Error

This challenge will test your skills in implementing the strict mode in JavaScript.

Problem statement #

In this challenge, you are given an object, person. The function, func, is doing the following:

  1. modifying the name property of the person

  2. adding the age property to the person object ...