28/30 Hello? Yes, This is Dog. Strange happenings


#1

So, I believe my code is correct. It's printing the correct sentences to the console, but does not pass.

However, when I try this code, it passes, but doesn't print.

Is this something I'm doing wrong or a bug?

I've also tried refreshing the page a few times and still have the same results.


#2

Hi the first code is fine just try to remove the dot "." after dog inside the console.log


#3

Oh great!
Proper punctuation foils me again! :expressionless:

Thank you.


#4

i wrote it just like you did and it gaves me an error, but i refreshed de page and it worked!!


#5

correct

Dog.prototype.sayHello = function() {
console.log("Hello this is a " + (this.breed) + " dog");
};