4. What is your references?


#1

I get the error message "looks like you didn't change james.job to "super programmer" in line 14."

Also it does not log anything to console, any help?

Here's my code:

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 progammer";

// james' second job
james.sayJob();


#2

What do you need help with, what's stopping you from fixing it?
If you don't know how to start then begin by confirming what the error message is describing, decide if you agree with what it describes being a problem.


#3

If you're still having trouble, I think the problem is that you need a space after the 'a' in "Hi, I work as a " + " " + this.job); <-- it should look like that


#4

james.job = "super progammer";

youre missing an "r", it should be :

james.job = "super programmer";


#5

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