5.8 I can't figure it out.What have i done wrong, or misspelled?*SOLVED*


#1

var friends = new Object();
friends.bill = {
firstName: 'Bill',
lastName: 'Gates',
number: '(343) 555 555',
address : ['Strada de langa Kaufland','Codul postal 234443','Numarul 34','34']
},
friends.steve = {
firstName: 'Steve',
lastNme: 'Jobs',
number: '(342) 555 555',
address: ['Aleea Piersicului','Cod postal 200265','Numarul 9','345']
};


#2

@gigarunner45023 you get an error because on this line

number: '(342) 555 555'

for 'steve' you have to add a comma after

number: '(342) 555 555' ,

#3

i saw that too, after i put it, i still get the error, "SyntaxError: Unexpected identifier"


#4

i've solve it, ty for your help.