What is going wrong here?


#1

Unexpected token :


#2

Put a new before object? That's what I did first off...

What exact lesson are you on? Would be easier for me to help you...


#3

lesson: adding properties


#4

Apologies for getting back so late...

Here is my code
Could just be that the numbers aren't like a phone number.
Just compare the two!
Good luck :slight_smile:

var friends = {
bill: {
firstName: "Bill",
lastName: "Gates",
number: "(206) 555-5555"
},
steve: {
firstName: "Steve",
lastName: "Jobs",
number: "(206) 666-5555"
},
Jill: {
firstName: "Jill",
lastName: "Spates",
number: "(806) 555-5555"
},
Till: {
firstName: "Till",
lastName: "Tates",
number: "(206) 555-6666"
}
};