What are JavaScript…
 
Notifications
Clear all

What are JavaScript prototypes?

1 Posts
2 Users
0 Likes
175 Views
0
Topic starter

What are JavaScript prototypes?

1 Answer
0

Every object in JavaScript has a built-in property, which is called its prototype. The prototype is itself an object, so the prototype will have its own prototype, making what’s called a prototype chain. The chain ends when we reach a prototype that has null for its own prototype

Share: