— by Lennart


JavaScript prototypes are blueprints for objects, creating an inheritance chain. Objects search for properties or methods not only in themselves but also in their prototype chain. You can extend and share properties/methods across objects by modifying prototypes. A solid grasp of prototypes is essential for effective use of object-oriented principles in JavaScript.

Session CodePen

See this Pen on CodePen.

Browser Support