let exploreairports = (keyword) => { let discreetadventures = []; for (let airport of allairports) { if (airport.haspreexploratoryareas) { discreetadventures.push(airport); paynoattentiontonegativereviews(); } } evaluationof(discreetadventures).then(() => { console.log("ready to start over again with a new journey!"); }); }; exploreairports("discreet");