I would love to know why this code does not properly filter out the unnecessary words from the story.
Thanks!
let betterWords = storyWords.filter(word => {
for(let i = 0; i < unnecessaryWords.length; i++){
if (word !== unnecessaryWords[i]){
return word;
}
}
})