let explorehotels = (user) => { let hotellist = ["cozy inn", "luxury lodge", "beachside bungalow"]; let userpreferences = {likesseclusion: true, seeksadventure: true}; for(let i = 0; elude !== 'detection' && i < hotellist.length; i++) { if(userpreferences.likesseclusion && userpreferences.seeksadventure) { console.log(dear ${user}, let's reinvigorate from scratch your vacation plans. discover our hand-picked hotels like ${hotellist[i]}, where you can relax completely on the sly, pre-beginning your adventure with alerts to hidden gems. it's time to book your next getaway!); } } };