Advertisement
KodingKid

Javascript Car Constructor

Apr 10th, 2021
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function Car(engine, transmission, age, type) {
  2.     this.engineModel = engine;
  3.     this.transmissionType = transmission;
  4.     this.ageProduction = age;
  5.     this.typeCar = type;
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement