3. adding your friends


#1

Hello I am confused on how this works, I know how to assign it other ways which is why I am not doing it those ways.

var friends = {
    
 friend1: bill = {
    name: 'bill',
    phone: 77777
    };,
    
    friend2: george = {
        name: 'george',
        phone: 66666
    };,
    
    friend3: ted = {
        name: 'ted',
        phone: 21121
    };
    
    };

Thanks


#2

bill is the name of your friend?

var friends = {
    bill: {

    }
}

so that is all you need to do, you can't number your friends like you do


#3

yeah i tried a few different ways.
I think it might have been my use of semicolons ;

Thankyou


#4

the semi-colons is also really bad.

Did you solve it?


#5

Yes I did, thankyou.


#6