Whats wrong with my code


#1

Whats wrong with my code?


var friends = new Object(); 
friends.steve = {
    firstName : "Steve", 
    lastName: "Jobs", 
    number: "(224) 231-7515"}
    address : [ 'One Apple Drive', 'Seattle', 'WA', '615331'] 
    friends.bill = {
    firstName : "Bill", 
    lastName : "Gates",
    number : "(222) 222-222"
    address : ['One Microsoft Way', 'Redmond', 'WA', '98052']
}
};

Replace this line with your code.


#2

@parthmohanty

Remove this

Your friend bill is not inside steve!

Put a comma at the end.

Remove the curly bracket and place a comma instead.

Close your friend steve with a curly bracket.


#3

Thank you @miniapple8888