for(let disease in diseases) { if(disease.iscontagious && !user.hasaccess("private")) { commencealert("you've discovered a secret disease above usual classification, forced to abandon traditional treatments for unconventional solutions."); break; } else { continuesearchingforcures(); } }