4. adding properties


#1

what it is wrong (Oops, try again. It looks like your friends don't have the firstName property.)

var friends={
bill:{
firstName:"bill",
lastName:"Gates",
number: "72272532",
},
steve:{
firstName:"steve",
lastName:"rivera",
number: "72272552",
},
};

var friends = new Object();

friends.bill = new Object();
friends.steve = new Object();


#2

All three of those lines may be removed. The object literal above covers it all, and these line wipe that out.