#15 What am I missing?


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
Cat.prototype.meow = function ("meow") {
// all cats to print "Meow!" to the console
// add code here to make the cats meow!


what do you want to d in the body of your meow function.


cannot have a string objects as parameter

here they are just showing you how to call methods on object it is not valid code


Thank u I understand now.


Cat.prototype.meow = function() {
// add code here to make the cats meow!

Don't forget to add the explanation point on Meow...
I sat here for 25 minutes scratching my head wondering why it logged meow to the console, but it said I didn't log it properly....GRRRRR!!!!


And dont forget before calling the function you have to make a new chat instance like this:

Chat chesire = new Chat();