PrepAway - Latest Free Exam Questions & Answers

What is the purpose of the prototype property in JavaScript?

What is the purpose of the prototype property in JavaScript?

PrepAway - Latest Free Exam Questions & Answers

A.
It is used to add properties or methods to a JavaScript object.

B.
It returns a list of properties and methods of a JavaScript object.

C.
It enables developers to create JavaScript code from a specially formatted prototype flowchart
document.

D.
It is used to create usage examples of custom objects because its output is not evaluated by
the JavaScript interpreter.

Explanation:


Leave a Reply