Adding properties(Contact List)


#1

var friends={
bill: {
firstName:"Bill",
lastName:"Gates",
number: "0561651651"
};

steve : {
    firstName:"Steve",
    lastName:"Jobs",
    number : "05564515919"
};

};
I couldn't figure out where I made the mistake.It seems pretty correct to me.Please,help me out!
EDIT: I understood the mistake.If you are in the same situation check the reply please.


#2

As soon as I posted this,I realized that I used colons instead of commas between bill and steve objects.:blush:
Small things can make a big difference;I guess.Anyway,if someone makes the same mistake I hope this will come handy.