Introduction to JavaScript Constructor Methods and Prototypes

Difficulty: Advanced
Duration: 4 minutes and 37 seconds
Students: 163
Rating: 3.6/5

This practical lesson explores JavaScript Constructor Methods and Prototypes. A constructor method attaches itself to an instance of the constructor object, a prototype does not and is attached directly to the constructor.

Learning Objectives

  • Learn how to create a constructor method
  • Learn how to create a constructor prototype
  • Learn the differences between a method and a prototype
  • Learn when to use one or the other

Intended Audience

This lesson is intended for anyone who wants to learn about JavaScript Constructor Methods and Prototypes.

Prerequisites

Anyone with an interest in using the rest operator in JavaScript or who wants to improve their knowledge of JavaScript in general.

Covered Topics