Lessons:13Length:2.5 hours
  • Overview
  • Transcript

2.1 Prototypes

Like classes, prototypes are structured. However, they behave very differently than classes do. Functions are the foundation of JavaScript and they use prototypes as their skeleton.

In this lesson you learn to define your own “classes” to give structure to your domain. You’ll also learn about prototypal inheritance and how to make functions inherit prototypes from another functions.