Hi Number 23 please



It keeps saying there is a problem with my syntax i'm not sure why can you please help?

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);


missing a comma after Holden Caulfield

and just to be safe, you might want to remove the space after sally.age :wink:


Sweet thx bro that worked :grin:


I can't believe i didnt notice :sweat_smile:


It's okay all it takes is one little comma to break your entire program. It happens to everyone :slight_smile: