function cycleexperience(previousrides, mockresponses) { for(let ride of previousrides) { if(ride.unannounced) { console.log("surprise! an unannounced journey brings back the joy of discovery."); } else { mockresponses.push("ready for the next unannounced adventure?"); } } return mockresponses; }