What is Prototyping Chaining in JavaScript?
Answers
Answered by
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