Make Unique Objects by Passing Parameters to our Constructor

Make Unique Objects by Passing Parameters to our Constructor
0.0 0

#1

var Car = function() {
//Change this constructor
this.wheels = 3;
this.seats = 1;
this.engines = 2;
};

//Try it out here
???


#2

What is your question?


#3

did you face this challenge?
here’s my question
Alter the Car constructor to use parameters to assign values to the wheels, seats, and engines properties.

Then call your new constructor with three number arguments and assign it to myCar to see it in action.

The thing is i don’t even clear on what does a “constructor” mean
what is object
what is method