I have objects looking like this.
foo = {
0 : {
'bar' : 'baz',
'qux' : 'quux',
'this' : { 'hello' : 'yes' } // this is the object I want to extract
}
1 : {
'bar' : 'baz',
'qux' : 'quux',
'this' : { 'hello' : 'yes' } // extract
}
2 : {
'bar' : 'baz',
'qux' : 'quux',
'this' : { 'hello' : 'yes' }, // extract
'that' : { 'hello' : 'no' } // extract
}
}
with a for loop like this I get to loop through every object:
for(var i in foo){
...
}
The problem is that I only want to pull the data from the third and greater child object than ('this') from each object.
forloop:foo = [{},{},{}]