What's the best way to reference Javascript Object that exists inside of another Javascript object? For instance, taking the data below, how would I properly refer to the "home" of an individual, which is a reference to another object (places) in the same dataset?
var data = {
"people": [{
"name": "Jack",
"age": "8",
"home": data.places[0].country
}, {
"name": "John",
"age": "9",
"home": data.places[1].country
}],
"places": [{
"country": "Holland"
}, {
"country": "Germany"
}]
}