Help with Hello yes this dog


#1

**function Dog (breed) {
this.breed = breed;
};

// add the sayHello method to the Dog class
// so all dogs now can say hello

var yourDog = new Dog("golden retriever");
yourDog.sayHello();

var myDog = new Dog("dachshund");
myDog.sayHello();
**


#2

@tagwhiz14447 it looks like you left out the part where you both define the sayHello function and assign it to the Dog class.