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
Social Sciences,
2 months ago
Math,
4 months ago
Hindi,
4 months ago
Social Sciences,
10 months ago
Math,
10 months ago