Contact List- Am I close?


#1

Hi guys,

I'm struggling with this one and I am using the literal syntax 1 in this scenario. I am receiving the error 'Unexpected token'

Does anyone see what I am missing? Thank you so much:

var friends = {
    bill: {
        firstName: "Bill",
        lastName: "Whillup",
        number: "142-455-2322"
    };
    steve: {
        firstName: "Steve",
        lastName: "Jordan",
        number: "808-332-4443"        
};
};


#2

I solved this by browsing the forums-

first, I removed the semicolons after the curly brackets inside the 2 inner objects. What I really needed was a comma after the Bill object's curly bracket }

Thanks