23. more options


#1

cant understand what wrong with this code..
error:Oops, try again. There was a problem with your syntax.

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 Caufield",16);

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


#2

Hi here

console.log("sally's species is " + sally.species + " and she is " + );

after the + you should put something do you know what?

.." and she is " +

#3

var holden = new Person("Holden Caulfield",16);

Caulfield

you write :slight_smile:

Caufield = "l" missing


#4

thanks!! ..it worked