10. Another Way to Create


#1

https://www.codecademy.com/courses/spencer-sandbox/1/5?curriculum_id=506324b3a7dffd00020bf661#

Oops, try again. Make sure susan1 and susan2 have the same name property
Did i do something wrong

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


#2

the object is called susan2, so if you want to add property's to this (susan2) object you would need to actually use susan2:

susan2.name

in your case, the 2 is missing


#3

thank you so much !!!!!!!!!!!!!!!!!