3. Literally Speaking


#1


https://www.codecademy.com/courses/objects-ii/0/3?curriculum_id=506324b3a7dffd00020bf661#


My code seems to work as intended. But i get this message:
"Oops, try again. It looks like your speak method doesn't properly take in a single argument and output the correct string."
What am i doing wrong? Thank you in advance.


var james = {
    job: "programmer",
    married: false,
    speak: function(test ) {
        console.log("Hello, i am feeling" + " " + test);
    }
};

james.speak("great");
james.speak("just okay");


#2

in english, I (I am feeling) is always uppercase


#3

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