23 More Options - expected ')'?


#1

Hi! Can anyone spot my syntax error? Thank you :smiley:

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 " sally.age);
console.log("holden's species is " + holden.species + " and he is " holden.age);


#2

Actually I just worked it out! I was missing some '+' signs.
It should be: