Solution: Adding a New Property to a Character
Let's see the solution to Adding a New Property to a Character challenge.
We'll cover the following
Solution
Here, we add a new property xp
to the aurora
object and initialize it with zero.
Let’s have a look at the solution code below:
Get hands-on with 1400+ tech skills courses.