function appendData(data) {
var mainContainer = document.getElementById("myData");
for (var i = 0; i < data.length; i++) {
var div = document.createElement("div");
div.innerHTML = 'Name: ' + data[i].firstName + ' ' + data[i].lastName;
mainContainer.appendChild(div);
}
}
mainContainer.appendChild(div);
superHeroes.homeTown
superHeroes['active']
superHeroes['members'][1]['powers'][2]