10. help


#1

My code
// Our bob object again, but made using a constructor this time
var bob = new Object();
bob.name = "Bob Smith";
bob.age = 30;
// Here is susan1, in literal notation
var susan1 = {
name: "Susan Jordan",
age: 24
};
// Make a new susan2 object, using a constructor instead
var susan2 = new Object();
susan.name = "Susan Jordan";
Susan.age = 24;

The problem
Oops, try again. Make sure susan1 and susan2 have the same name property


#2

You wrote:

Instead of susan2.name = "Susan Jordan"; susan2.age =24;


#3

my code
// Our bob object again, but made using a constructor this time
var bob = new Object();
bob.name = "Bob Smith";
bob.age = 30;
// Here is susan1, in literal notation
var susan1 = {
name: "Susan Jordan",
age: 24
};
// Make a new susan2 object, using a constructor instead
var susan2 = new Object();
susan2.name = "Susan Jordan";
Susan2.age = 24;

The problem
Oops, try again. Make sure susan1 and susan2 have the same age property


#4

Hi this line

Susan2.age = 24;

you wrote susan with the uppercase S


#5

Yeah that was it thanks!