Accessing and modifying object properties
Accessing and modifying object properties In JavaScript programming, object data types are stored as an array of key-value pairs in an ordered manner, where the object data type format contains the keys that are used as properties of the object, it is in a string format, and the object data type value can be any…