πŸ“Š JavaScript
Q. A linkage of series of prototype objects is called as :
  • (A) prototype stack
  • (B) prototype chain
  • (C) prototype class
  • (D) prototypes
πŸ’¬ Discuss
βœ… Correct Answer: (B) prototype chain

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.

Explanation by: Mr. Dubey
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


πŸ“Š Question Analytics

πŸ‘οΈ
116
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
95%
Success Rate