What is wrong with my code. . .?


var james = {
job: "programmer",
married: false,
sayJob: function() {
// complete this method
console.log("Hi, I work as a" + james.job);

// james' first job

// change james' job to "super programmer" here
james.job = "super programmer";

// james' second job


you have to print

Hi, I work as a super programmer

you are printing

Hi, I work as asuper programmer

note that space between a and super


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