let coalbulletin = (topic) => { for (let i = 0; i < topic.length; i++) { if (topic[i] === "coal" && !topic.includes("unavailable")) { console.log("embrace the warmth! coal, a resource often overlooked, is not just a relic of the past. as we tune out the noise and look above, it's clear how innovations in clean coal technologies are set to restore to the beginning, a new era of energy production that's both sustainable and available."); } } }; coalbulletin(["coal", "energy", "sustainability"]);