Are My Methods Correct?


// Add a blowHorn method to the Car constructor's prototype that will log "Honk! Honk!" To the console when called.

this.blowHorn = function(){
console.log("Honk! Honk!");

// Create another method on the Car prototype called updateMileage that when called will increment the car's mileage by a given amount of miles. = function () {


Can you please tell me which exercise you're talking about? Would be useful.


Guess this refers to this topic: