Vidyalelo
JavaScript · Q53

Basic And Variables

Programming · JavaScript · question 53

Q53

A linkage of series of prototype objects is called as :

A.
prototype stack
B.
prototype chain
Answer
C.
prototype class
D.
prototypes

Answer: Option B

Solution

Answer: Option B
Solution:
Consider an example, Date.prototype inherits properties from Object.prototype, so a Date object created by new Date() inherits properties from both Date.prototype and Object.prototype. This linked series of prototype objects is known as prototype chain.