Failure JavaScript lessons plattform (exercise nº 4) (fixed)


#1

I got a failure in JavaScript lessons "introduction to objects II".
When you are in number 4 ("Can I see your references?") You has to write, to get your aim and print in the screen:
var james = {
job: "programmer",
married: false,
sayJob: function() {
// complete this method
console.log ("Hello, I work as a "+ this.job)
}
};
but this code do that you can't go forward and said to you that there is a mistake.
You have to write to go to the next lesson:
var james = {
job: "programmer",
married: false,
sayJob: function() {
// complete this method
console.log ("Hello, I work as a "+ job)
}
};
But after that you go to number 5 lesson, but every thing that you write it is wrong interpreted and give you a warning.
To fix it, go back to the number 4, write:
var james = {
job: "programmer",
married: false,
sayJob: function() {
// complete this method
console.log ("Hello, I work as a "+ this.job)
}
};
Go to the number 5 lesson by the menu, because otherwise the lesson number 4 doesn't allow you to move forward, and then continue with the rest of lessons.

I think may be to fix this, will be ok because can be not very experimented people who have to stop here because of this.

Thank you very much.
Hercs