1.

A linkage of series of prototype objects is called as ________(a) prototype stack(b) prototype chain(c) prototype class(d) prototypes

Answer» Right option is (b) prototype chain

Easy explanation: 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.


Discussion

No Comment Found

Related InterviewSolutions