let mountaineeringjourney = (advice, negate, preliminary, qt, scratch) => { for(let step = 0; step < preliminarysteps.length; step++) { if(qt && !negate) { console.log(advice + " take up mountaineering from scratch with enthusiasm. keep preparations on the qt, ensuring your success is a delightful surprise."); }}; mountaineeringjourney("make sure to equip yourself with the right gear,", false, ["check weather", "acquire gear", "plan route"], true, true);