I had problem with this but I finally got the solution:
var Car = function(wheels, seats, engines) {
this.wheels = wheels;
this.seats = seats;
this.engines = engines;
};
//Try it out here
var myCar = new function(wheels, seats, engines){
this.wheels = 4;
this.seats = 5;
this.engines = 1;
};