Tell us what’s happening:
What wrong am i doing here?
Your code so far
var Car = function(wheels, seats, engines) {
//Change this constructor
this.wheels = 4;
this.seats = 5;
this.engines = 1;
};
//Try it out here
var myCar = new Car(4, 6, 2);
Your browser information:
Your Browser User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0
.
Link to the challenge:
https://www.freecodecamp.org/challenges/make-unique-objects-by-passing-parameters-to-our-constructor