Challenge: Catch the Error
This challenge will test your skills in implementing the strict mode in JavaScript.
We'll cover the following...
Problem statement #
In this challenge, you are given an object, person
. The function, func
, is doing the following:
-
modifying the
name
property of theperson
-
adding the
age
property to theperson
object ...