5/20 why isn't it working!


Every time I click Save & Submit Code, it says :Oops, try again. Do you have the variable 'aProperty' between brackets?

Here's my code

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

// james' first job

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

// james' second job

What's Wrong!:angry:


console.log("Hi, I work as a",this.job);

I believe that when connecting a string and a variable you have to use a plus " + " sign, like so:

console.log("Hi, I work as a" + this.job);