203k views
6 votes
Michelle has defined a custom object by creating an object literal. She wants to access the properties of the custom object. Michelle can also write the properties of the custom object by using the _____.

User Anaa
by
3.7k points

2 Answers

14 votes

Final answer:

Michelle can access and write the properties of a custom object using dot notation or bracket notation. This allows her to perform operations such as reading, creating, and updating the properties of the object.

Step-by-step explanation:

Michelle can access the properties of the custom object as well as write the properties of the custom object by using the dot notation or the bracket notation. For example, if she has an object person with properties name and age, she can access these properties using person.name and person['age']. Similarly, to write or update these properties, she can use person.name = 'Michelle' or person['age'] = 30.

User Macs Dickinson
by
4.0k points
2 votes

Answer:

dot operator

Step-by-step explanation:

Michelle has defined a custom object by creating an object literal. She wants to access the properties of the custom object.Which of the following can help Michelle to access the properties of the custom object?

Selected b. Answer:Dot operator

User Marvin Mabaquiao
by
4.2k points