Unlimited Plugins, WordPress themes, videos & courses! Unlimited asset downloads! From $16.50/m
by
Lessons:13Length:2.5 hours
Crs 85492
  • 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.