Is My Method Correct?


#1

// Create another method called checkOilLight that will set the checkOil property to true if the car has been driven 1,500 miles.

this.checkOilLight = function() {
if(checkOil === 1500){
return checkOil = true;
}


#2

@digitalblaster24420,

Please give us your full code....


#3

Guess this refers to this topic:


#4