22 More Options: "TypeError: Cannot read property 'species' of undefined"


#1



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

var sally = Person("Sally Bowles", 39);
var holden = 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 " + holde.age);


#2

I find the bug:
var sally = new Person ...
var holdem = new Person....


#3

You mean var holde**n**