Adding properties


#1

var friends = {};
friends.pratham = {
firstname: "Pratham",
lastname: "subbaiah",
age:19,
number: "(983) 685-7839",
adress: ["#153","4th cross","4th main","sanjaynagar"]
};
friends.nikil = {
firstname: "Nikil",
lastname: "raju",
age: 19,
number: "(859) 375-8330",
adress: ["#53","5th cross","6th main","sanjaynagar"]
};

i don't know whts wrong with this .....its saying Oops, try again. It looks like your friends don't have the firstName property.i dont know whts wrong can someone correct it plzz


#2

Variable names are case sensitive. Thus firstName is not the same as firstname.


#3

thank you ur reply was really helpful....