Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

  1. A linkage of series of prototype objects is called as :

  2. A.

     prototype stack

    B.

     prototype chain

    C.

     prototype class

    D.

     prototypes

    View Answer

    Workspace

    Answer : Option B

    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.


Be The First To Comment