Template Community / Prototype Chain Diagram

Prototype Chain Diagram

Share
Duplicate
0
0
Report
Publish time:11-23-2021
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.
Creator
profile image
张建棚
profile image
Post
Recommended Templates
Prototype Chain Diagram
Publish
Your
Diagram