Car

Car

new Car(model, registrationPlate, numberOfSeats, region, id, inTeam) → {Object}

This constructor function will create a car object and return it.
Parameters:
Name Type Default Description
model string Car model
registrationPlate string Car regestration plate
numberOfSeats number Number of seats in the car
region string Region of the car
id number Id of the car
inTeam boolean false Boolean type of varible that represent if car is in use by a team
Source: