function Car(sColor,iDoors,iMpg) {
this.color = sColor;
this.doors = iDoors;
this.mpg = iMpg;
this.drivers = new Array("Mike","John");
this.test=function(){
console.log("test");
}
}
Car.prototype.showColor = function() {
alert(this.color);
};
var objCar = new Car("red", 1, 2);