15/30


#1

function Cat(name, breed) {
this.name = name;
this.breed = breed;
}

// let's make some cats!
var cheshire = new Cat("Cheshire Cat", "British Shorthair");
var gary = new Cat("Gary", "Domestic Shorthair");

// add a method "meow" to the Cat class that will allow
// all cats to print "Meow!" to the console
Cat.prototype.meow = function () {
console.log("Meow")
};
// add code here to make the cats meow!
cheshire.meow();
gary.meow();

Not sure what is broken in it. It prints out Meow into the console, and it says that it is not printing it out right.


#2

You need to add a exclamation point to the console.log
console.log("Meow!")
instead of
console.log("Meow")