When you need to just read the values of the object and make sure not to change anything in the object you must ,use what ???
Answers
Answered by
2
Answer:
You can access the properties of an object in JavaScript in 3 ways:
Dot property accessor: object. property.
Square brackets property access: object['property']
Object destructuring: const { property } = object.
Similar questions