I am trying to filter out words that include zz or ZZ but can't quite get it to work. I am trying to use includes() within the filter() method. I'm not sure if the || operand is the correct choice here.
function removeZZ (str){
let splitStr = str.split(" ")
let noBuzz = splitStr.filter(word => !word.includes("zz") ||!word.includes("ZZ") )
return noBuzz.join(" ")
}