I need help please


#1


Replace this line with your code.


#2

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

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

user.speak();

TypeError: user.speak is not a function

question:
How can i add speek method to the object Person???


#3

speek and speak are spelled differently, causing the error. Use the right one


#4

OOPs,really i got mad
Thank you very much