JavaScript | JavaScript Objects | Question 5

Last Updated :
Discuss
Comments

What is the purpose of the prototype property in JavaScript objects?

To create new properties in an object

To define methods and properties for inheritance

To store the type of the object

To delete existing properties

Share your thoughts in the comments