I added speak method but it still dont log to console


#1

function Person(job, married) {
this.job = job;
this.married = married;
// add a "speak" method to Person!
this.speak = function(){ console.log("Hello!"); };
}

var user = new Person("Codecademy Student",false);
user.speak();


#2

Everything looks fine to me. Maybe try refreshing Codeacademy and trying again?


#3

delete semicolon after the closing bracket ...(Hello!");}