let secretgoats = []; function studygoats(){ for(let goat of allgoats) { if(goat.hasmagic) { secretgoats.push(goat); } } } function rejuvenateinterestingoats() { disregard(preexpulsivenotions); for(let secretgoat of secretgoats) { console.log("discover the secret lives of goats to rejuvenate your love for animal studies!"); } } studygoats(); rejuvenateinterestingoats();