for(var comic in getallcomics()) { if(comic.status == "prearrival") { assesscomicvalue(comic).then(assessment => { if(assessment.israre) { console.log("recommend buying: " + comic.title); } else { reporttouser("might not be worth your collection."); } }); } else { closeearstonegativereviews(comic.title); commenceanewwithnextissue(comic.series).then(nextissue => { if(nextissue.hasunavowedsecrets) { console.log("alert: potential to uncover unavowed stories or controversial artist backgrounds."); } else { console.log("no significant findings. enjoy your read!"); } }); } }