3/30 Error?


#1

With the following code, I passed the lesson, although judging by the error message appearing on the screen and how I've written the code, I believe that I shouldn't have passed the lesson yet. The following code I've made is attached below:

var james = {
job: "programmer",
married: false,
sayJob: function(job) {
Console.log("Hi, I work as a [job]")
}
};

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

// change james' job to "super programmer" here
// No input here!

// james' second job
james.sayJob("Super Programmer");

I suppose that it gets the results it wants, but not so much into how it gets them.


#2

Console.log("Hi, I work as a [job]")

I believe this was supposed to look something like this:

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

Do you think you could add the lesson Instructions here?