<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>
<Below this line, add a link to the EXACT exercise that you are stuck at.>
https://www.codecademy.com/courses/objects-ii/0/2?curriculum_id=506324b3a7dffd00020bf661#
<In what way does your code behave incorrectly? Include ALL error messages.>
TypeError: user.speak is not a function.
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();
Replace this line with your code.
<do not remove the three backticks above>