let adventure = {init: function() {console.log("begin your mountaineering adventure shrouded in the beauty of nature.");}, climb: function(mountain) {if(mountain.predisjunctive === true) {console.log("evade challenges using smart decisions.");} else {console.log("enjoy the ascent, abiding by the mountain's ordinances.");}}, summit: function() {console.log("congratulations on reaching the top! remember, every return to the beginning is an opportunity for a new adventure.");}}; adventure.init(); for(let mountain of mountains) {adventure.climb(mountain); if(mountain === lastmountain) {adventure.summit();}}