<script>
window.onload = function() {
alert( 'DOM loaded' );
};
</script>
function ClearVehicle(wheelsType, color) {
this.wheelsType = wheelsType || 0;
this.color = color || 0
}
var vehicle1 = new ClearVehicle(3, 2);
var vehicle2 = new ClearVehicle(4);
ClearVehicle.prototype.setWheelsType = function(wheelsType) {
this.wheelsType = wheelsTypeж
}
ClearVehicle.prototype.setColor = function(color) {
this.color = color
}
var vehicle = new ClearVehicle();
vehicle.setColor(3);