# 5 . Why isn't my Array exercise working


#1


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


I am getting a "SyntaxError: Unexpected identifier", to which I'm not sure about.


var friends = {
    bill: {
        firstName: 'Bill',
        lastName: 'Ding',
        number: '1-(800)-POTATOS',
        address: ['Four Euer Ave.','Franklin','DE','80085']
    }
    steve: {
        firstName: 'Steve',
        lastName: 'Vins',
        number: '1-(888)-SLP-CHOP',
        address: ['2 Much-Rocky Rd.','Franklin','DE','80085']  
    }
};


#2

Missing comma after the first object.


#3

We separate properties of objects using commas. Just like you did in the bill and steve objects, but it also applies to the friends objects. You have to separate bill and steve properties using comma.


#4

Hmm. Strange it let me get that far without it. Thanks for the assist.


#5

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