mimirandi21 / js-object-oriented-constructor-functions-lab

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 make sure your solutions work as expected.

About

License:Other


Languages

Language:JavaScript 64.2%Language:HTML 35.8%