What is wrong?


#1

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


#2

I reentered another one, but not right result.
var james = {
job: "programmer",
married: false,
speak: function(ddd) {
console.log(ddd);
}
};
james.speak("Hello, I am feeling great");
james.speak("Hello, I am feeling just okay");

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


#3

That is on Introduction to Objects II, point 3,
Something is wrong, admins where are you