<Below this line, in what way does your code behave incorrectly? Include ALL error messages.>
I think I got all the codes correct in here (as I have went through the Q&A in this forum section as well). However, the system still doesn’t let me pass? Can anyone help me for that? Thanks!
```
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();
His code actually works with and without said semicolon on my end… so strange that it isn’t working I completed the lesson with the same exact code days ago.
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();
Thanks everyone. I tried to restart my laptop and finally got the section passed with the code listed above. Perhaps there is a bug somewhere in this page.