23/33 incomprehensible error


#1

My code is

function Person(name,age) {
this.name = name;
this.age = age;
this.species = "Homo Sapiens";
}

var sally = new Person("Sally Bowles", 39);
var holden = new Person("Holden Caulfield", 16);
console.log("sally's species is " + sally.species + " and she is " + );
console.log("holden's species is " + holden.species + " and he is " + );

the resulut is "

SyntaxError: expected expression, got ')'

"


#2

After your last plus + on these lines:

You need another value, such as:

console.log("holden's species is " + holden.species + " and he is " + holden.age);

#3

Yes, It works! thank you very much !


#4

You're Welcome! :smile: