Unexpected identifier


#1

I dont know why it doesn't work. Can someone please help me?

var friends = {
bill: {
firstName: "Bill",
lastName: "Gates",
number: "(206) 555-5555",
address: ['One Microsoft Way','Redmond','WA','98052']
}
//everything above is fine.
steve: {
firstName: "Steve",
lastName: "Jobs",
number: "(124)24452424",
adress: ['Please', 'work']
}
};


#2

Nevermind, i fixed it! :smiley:


#3

wow that is great perhaps you can actually add the fix so other people can see it as well, like me for instance!


#4

yes yes: there needs to be a comma between the bill{} and the steve{}


#5

What was the issue? I'm having the exact same issue and my code looks exactly like yours.


#6

there needs to be a comma between the bill{} and the steve{}