Constructor Functions Lab

Objectives

  • Build constructor functions
  • Build objects with properties from a constructor function

Intro

Scuber needs you to develop a fast way to create Scooters, Drivers, and PickupLocations as new business keeps rolling in.

Instructions

Create a constructor function for each of the following:

  • Scooter with year, color, and model properties
  • Driver with name, age, and experience properties
  • PickupLocation with address and city properties

Make sure you run the tests to ensure your solutions work as expected.

View Constructor Functions Lab on Learn.co and start learning to code for free.