Literally Speaking


var james = {
job: “programmer”,
married: false,
speak: function( mood ) {
console.log(“Hello, I am feeling” + mood);

james.speak(“just okay”);

Whats wrong with my code?
I had this error
"Oops, try again. It looks like your speak method doesn’t properly take in a single argument and output the correct string."


Not sure as I don’t know which exercise this is. But looking at the code I would assume you just need to add a space after feeling. otherwise that prints “Hello, I am feelinggreat”


Thanks, that solved the problem.