Advanced JavaScript Advanced JavaScript

prototype: Objects Linked

Prototypes in JavaScript can be linked and share a parent-child relationship similar to a subclass and superclass. This is beneficial when extending a prototype to add additional methods. However, there are issues with constructor references.
Get Unlimited Access Now