What is wrong?


#1



Contact List: 4


ReferenceError: bill is not defined


. 

var friends = new Object();

friends.bill = new Object();

bill.firstName = 'Bill';
bill.lastName = 'Gates';
bill.number = '(206) 555-5555';

friends.steve = new Object();
steve.firstName = 'Steve';
steve.lastName = 'Jobs';
steve.number = '(206) 555-5555';


#2

HI you want to add some propriety to..

friends.bill = new Object();

So you should add it like that.

friends.bill.firstName = 'Bill';

do the same for the others.


#3

Thank you, it worked.