Can I see your references? - Accepted code, but did not execute code in console


#1

<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.>

<In what way does your code behave incorrectly? Include ALL error messages.>
The compiler did not return an error and it marked me as correct, but I do not see the method being run at all, let alone twice. Why might this be?

```

var james = {
job: “programmer”,
married: false,
sayJob: function() {
// complete this method
console.log(“Hi, I work as a” + " " + james.job);
}
};

// james’ first job
james.sayJob();

// change james’ job to “super programmer” here
james.job = “super programmer”;

// james’ second job
james.sayJob();

<do not remove the three backticks above>

#2

Try

this.job

Instead.


#3

Thanks, @jibblyj! Thought I tried that first, but alas, it works!