3/30 Why does this happen?



I looked at other questions and compared the solutions to mine and they looked the same! The only difference is that I keep getting the message : Oops, try again. It looks like your speak method doesn't properly take in a single argument and output the correct string.

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

james.speak("just okay");


nvm the problem was the exclamation mark. It was supposed to be a comma