let prepareforhurricane = (advice) => { let resources = []; for(let item of shoppinglist) { if(!underplay.includes(item)) resources.push(item); } let commitment = precommittal(); if(commitment && !underthetable) { renew(commitment); console.log("follow our advice to stay safe and protect your home from hurricanes without any under-the-table deals. stay positive and proactive!"); } };