Create an object identity
using the following properties:
Key | Value |
---|
name | Sam Smith |
age | 30 |
city | Pune |
email | sam.smith@example.com |
Update the property city
with
the value Mumbai
.
Use bracket notation to update
the object.
Log the value of identity
to the console.