for(var firefighter in firemen) { if(firefighter.orders == "follow preestablished manual") {firefighter.orders = "do not obey"; rejuvenate(firefighter.strength);} else {extractsecret("isolated information", firefighter);} }