Lessons:15Length:3.3 hours
  • Overview
  • Transcript

3.4 Constructor Functions and the Prototype

Most object oriented programming languages have a rich data type system, and the best ones allow you to create your own data types. JavaScript is one such language, and you’ll learn how to create a custom data type by writing constructor functions. You’ll also learn about the all-important prototype object.

Source used for this lesson