What are javascript…
 
Notifications
Clear all

What are javascript prototypes?

1 Posts
2 Users
0 Likes
144 Views
0
Topic starter

prototypes

1 Answer
0

JavaScript prototypes are a way to share and reuse properties and methods among objects created from the same constructor function. They act as a blueprint for objects, allowing you to define common properties and functions that can be accessed by all instances of an object. This promotes code efficiency and reusability in JavaScript.

Share: