Full course

The problem inheritance solves

Prototypes is part of the full course, which builds up to the Universal Pattern: seeing the larger structure in any codebase, including the code AI writes for you.

Unlock everything for $39

One-time payment. Lifetime access, no subscription.

In this chapter

  • The problem inheritance solves
  • Identify the prototype
  • Extending our object imagimodel
  • Adding to the prototype
  • Constructor functions vs classes
  • Refactor into classes
  • Prototype reflections