Skip to content

What is a prototype chain in JavaScript? #339

Answered by d4tdev
montasim asked this question in Q&A
Discussion options

You must be logged in to vote

The prototype object has prototype of its own and so on until an object is reached with null as its prototype. So, this linking with one another is called as prototype chain.Null has no prototype and it acts as a final link in this prototype chain.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by montasim
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants