Can I See Your References?


#1

Just cant get whats wrong here!! either its showing

Oops, try again. It looks like your sayJob() method does not properly log 'Hi, I work as a [job]' to the console

or

NOTHING


heres my CODE below


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();


#2

Hi the error come from here

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

you should add a space between a and the "


#3

OK!! got it, but its just letting me pass this one without printing out the sentence! :confounded:


#4

is it common not having anything on d result window?! i m not getting it at all! :confused:


#5

Hi I ran it and it gave me all..


#6

yes now even mine too!! :open_mouth: dont knw wat i was stuck with!! anyways thanx :slight_smile: