I have an array of objects, each object MAY contain more arrays of objects and so on. I want to iterate through all these objects without hard coding it. I don't know how many nested arrays will each object have.
// This is the parent array
var members = [Object, Object, Object, Object, Object];
// members[0] can have another array of objects
var member = members[0];
and so on....
var mem = member[0];
I want to iterate through all those objects, but like I said, I can't know how many there will be. I need to get label of every object which I currently get by Object.label
I hope I explained it well, here's the picture.
Array[5] is var members in my example
