Science, asked by jsgsnsdfzjzjs483, 1 year ago

What is Prototyping Chaining in JavaScript?

Answers

Answered by bhatttsawtii
0

Prototype chaining is used to build new types of objects based on existing ones. It has a very similar job to inheritance in a class based language.

Constructor functions have a property called prototype. Adding properties and methods to the prototype property will automatically add the method or property to all objects created by the constructor function.

Similar questions