16.Tossing in an array


#1


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


The error says "SyntaxError:Unexpected identifier


Replace this line with your code. 
var friends = {
    bill: {
        firstName: "Bill",
        lastName: "Gates",
        number: "(206) 555-5555",
        address: ['One Microsoft Way','Redmond','WA','98052']
    }
    steve: {
        firstName: "Steve",
        lastName:"Gates",
        number: "(408) 555-5555",
        address: ['One Infinite Loop','Cupertino','CA','95014']
    }
};


#2

Missing comma before steve.


#3

oh thanks!
btw,I found out my:slight_smile:self


#4

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