/OOP-Tasks

Primary LanguageJavaScript

Object Oriented Programming

  • This is an OOP Task on Vehicle.
  • Vehicle has attributes - gear, speed and color
  • Vehicle has behaviour - setGear, setSpeed and setColor
  • Camry is an instance or object of vehicle and inherits the above fields and behaviour

Installation

  1. clone repository
  2. run npm install

Testing

  1. run npm test