4. Can I See Your References?



I keep getting an error message that say unexpected token but I cant figure out why.

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


You are missing a closing curly-bracket-} with which you would close the sayJob() Method.


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