What is wrong here? pls need help!


#1

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

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

// change james' job to "super programmer" here
james.job = "super programmer"

// james' second job
james.sayJob();
Oops, try again.
** It looks like your sayJob() method does not properly log 'Hi, I work as a [job]' to the console**


#2

@kevintunan,
You used

"Hi,I work as a"

and asked is

'Hi, I work as a'


#3

oh I see!Thanks again! mate! :relaxed: