Help with my contact list? Where is the expected ;?


#1


https://www.codecademy.com/courses/javascript-beginner-en-3bmfN/0/4?curriculum_id=506324b3a7dffd00020bf661#

SyntaxError: Expected '}'


var friends = {
    bill: {
        firstName: 'Bill',
        lastName: "a'Bong",
        number: '(850) 333-3333'
    }
    steve: {
        firstName: 'Steve',
        lastName: 'Alicious',
        number:'(123) 456-7891'
    }
};
}


#2

Sorry, it accidently sent early.

What I was going to say was where is this "unexpected end bracket"? I can't find a place. The two friends have end brackets, and so does the whole variable, so what am I missing?


#3

Not missing, but unexpected. The very last brace is a stray.


#4

Oh yeah. I forgot about that. When it said "expected }" I added one just to see if I was missing something. However, it is still expecting a }.


#5

There is a comma missing after the first object in friends.


#6

Thank you very much!


#7

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.