Stuck and wont work please help number 21


#1

function george(name,age) {
this.name = "George Washington";
this.age = 275;
}

// Let's make bob and susan again, using our constructor
var bob = new Person("Bob Smith", 30);
var susan = new Person("Susan Jordan", 25);
// help us make george, whose name is "George Washington" and age is 275
var george = new Person("George Washington", age 275);


#2

Is there any more code to this like the contructor?


#3

Hi here

var george = new Person("George Washington", age 275);

Remove age before 275
And this part

function george(name,age) {
this.name = "George Washington";
this.age = 275;
}

Should be like that

function Person(name,age) {
this.name = name;
this.age = age;
}

#4

i dont know
i just did but i dosent work


#5

thanks
for help!!!!!!!!!!!!!!!