I'm so confused ( Syntax of object literary notation and Object construction)


#1



Replace this line with your code. 
it says error!!
var friends = {
    bill:{},
    steve:{}
};
bill:{
    firstName: "Bill",
    lastName:"Gates",
    number: "(206)555-5555"
}
};
 



Please explain me the syntax in both the notation(object literary and Object construction)
when we are adding properties its really confusing , please explain me in a simple language! :)


#2

I think this post will help you understand :slight_smile: