Help on number 10 please


#1

// 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 = {
name2: "Susan Jordan",
age2: 24
};

it says Oops, try again. Make sure susan1 and susan2 have the same name property


#2

you shall make it like bob, an Object. with the same propertyes as sunsan1


#3

ok thenk you i will try it


#4

Use constructors:

var susan2 = new Object();
susan2.name = "Susan Jordan";
susan2.age = 24;

Hope this works


#5

thanks edwin i got it