[Can I See Your References?] the results are not printed



The code works and I pass the excercise. However, nothing gets printed on the screen. Why? Is the code correct? Or is it a bug in the excercise itself.

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


HI try to refresh the page .. Your code


hi it works now. thanks


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.