It`s working but telling me i have a mistake


#1

Why is that ? I think i did it well :confused:

var james = {
    job: "programmer",
    married: false,
    sayJob: function() {
        // complete this method
        console.log("Hi, i work as a " + james.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

@tomatomov
You are expected to use the EXACT text.....
look at difference between your text and that of the Oops message !!!


#3

Thank you,sir ! I get it now.


#4

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