Objects syntax, and what im doing wrong


#1



I'm not sure how I'm supposed to set this up? I'm sure I messed up with the methods and parameters and stuff. I need a refresher as to what each thing is called and what is supposed to go there because I don't really understand the instructions.


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

var sally = new Object(Person);
sally.name("Sally Bowles");
sally.age(39);
sally.species(species);
var holden = new Object(Person);
holden.name("Holden Caufield");
holden.age(16);
holden.species(species);
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

which exercise is this? exercise url would be very handy


#3

never mind I got it, thanks for lookin at it though.


#4