15.Prototype practice


Hello, I wrote this code, but I get an error: SyntaxError: Unexpected token {. Maybe you could help me to find what's wrong?

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 = fucntion () { 

// add code here to make the cats meow!


this line:

Cat.prototype.meow = fucntion ()

you misspelled function, to be sure i would also remove the space between function and ()


Oh, yes, thank you. How did I not see that lol.