SamuelC28 / js-object-oriented-constructor-functions-lab-noukod-000

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.

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

About

License:Other


Languages

Language:JavaScript 58.3%Language:HTML 41.7%