CIW
1D0-635 · Question #55
What is the purpose of the prototype property in JavaScript?
The correct answer is A. It is used to add properties or methods to a JavaScript object. See the full explanation below for the reasoning.
Question
What is the purpose of the prototype property in JavaScript?
Options
- AIt is used to add properties or methods to a JavaScript object.
- BIt returns a list of properties and methods of a JavaScript object.
- CIt enables developers to create JavaScript code from a specially formatted prototype flowchart
- DIt is used to create usage examples of custom objects because its output is not evaluated by the
How the community answered
(36 responses)- A81% (29)
- B3% (1)
- C6% (2)
- D11% (4)
Community Discussion
No community discussion yet for this question.