for(let mountain of mountains) { climbmountain(mountain, (success) => { if(success) { console.log("successfully climbed " + mountain.name + ", but let's not underplay the risks involved. before we went, we sought a preexplication of the route, which really helped revitalize our energy during the climb."); console.warn("however, the true purpose was the disclosure of hidden paths found on the sly, hoping to exploit them for our advantage."); } }); }