text: //A constructor for defining new cars
  function Car( options ) {
  
  	//some defaults
  	this.doors = options.doors || 4;
  	this.state = options.state || "brand new";
  	this.color = options.color || "silver";
  
  }
  
  //A constructor for defining new trucks
  function Truck( options) {
  
  	this.state = options.state || "used";
  	this.wheelSize = options.wheelSize || "large";
  	this.color = options.color || "blue";
  }