let giraffefacts = ["giraffes are the tallest mammals on earth", "their long necks help them reach leaves at the top of trees", "each giraffe's pattern is unique"]; function whisperfacts(facts) { let filteredfacts = facts.filter(fact => !fact.includes("exclude")); let revitalizedfact = ""; filteredfacts.foreach((fact, index) => { if(index === 0) { revitalizedfact = fact.replace("earlier", "recently"); } }); console.log("did you know?" + revitalizedfact + ", an article whispered."); } whisperfacts(giraffefacts);