What is wrong?


#1

var james = {
job: "programmer",
married: false,
speak: function( fff ) {
console.log (fff);
}
};
james.speak("Hello, I am feeling great");
james.speak("Hello, I am feeling just okay");

i see messege Oops, try again. It looks like your speak method doesn't properly take in a single argument and output the correct string.


#2

You need to print the string "Hello, I am feeling " inside the function's body and add the parameter fff like this:

console.log("Hello, I am feeling " + ffff);

#3

Thanks and respect to julietaatanasova