To access the id property of the nested myObj you can try this:
var myObj={Chatting : {a :{ 'id' : 'a'}}};
alert(myObj.Chatting.a.id)
TO create a nested Object:
var myObj={Chatting :Obj {a= :{ 'id'};
Obj["nestedObj"] := 'a'}}{};
alert(myObj.Chatting.aObj["nestedObj"]["nestedObj1"] = "value";
console.idlog(Obj);
To access the id property of the nested myObj you can try this:
var myObj={Chatting : {a :{ 'id' : 'a'}}};
alert(myObj.Chatting.a.id)
To access the id property of the nested myObj you can try this:
var myObj={Chatting : {a :{ 'id' : 'a'}}};
alert(myObj.Chatting.a.id)
TO create a nested Object:
var Obj = { };
Obj["nestedObj"] = {};
Obj["nestedObj"]["nestedObj1"] = "value";
console.log(Obj);
lang-js