4/30 Can I See You References?


#1


var james = {
    job: "programmer",
    married: false,
    sayJob: function() {
        // complete this method
        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();

This code seems to 'work' and initiates the green 'Start Next Lesson' button, but there's no log in the console saying "Hi, I work as a super programmer", just blank screen. Thanks.


#2

Seems to be running fine and logging fine? I recommend to refresh the page.


#3

A browser restart fixes the problem. Thanks!


#4