shadow
Template Community / Prototype Chain Diagram

Prototype Chain Diagram

EdrawMax user profile image
张建棚
Published on 2021-11-23
Download
Download
Download EdrawMax
Edit Online
logoanimation
In Object-Oriented Programming, every Object has a prototype, including the prototype object. This "chain" goes back until it reaches an object with no prototype, usually Object's prototype. Prototype's version of "Inheritance" involves adding another link to the end of this prototype chain. The below prototype chain diagram is created using EdrawMax Online and shows that when an attribute is called on an object, the Object is first checked for that attribute, and if it does not exist, then each link in its prototype chain is traversed until the attribute is found or the end is reached.
Tag
technology
Report
0
49
EdrawMax user profile image
Post
Prototype Chain Diagram
Recommended Templates