Is there an easier way to check if an unnecessaryWord exists in story? I have spent hours trying to figure out if this solution could be improved logically or even being simpler.
storyWords.forEach(word=>{
if(!unnecessaryWords.includes(word)){
betterWords.push(word)
}
})