I have following Object:
bots: {
bot_1: {
[...]
},
bot_2: {
[...]
},
bot_3: {
[...]
}
...
},
How could I get the name of the first child? In this case 'bot_1'. Thanks!
EDIT: I should have searched a bit more since it is a pretty basic question. I tried searching for the answer but I couldn't find it because I didn't know that it is called "property". Anyways, thanks for your help