i made two solutions for this task but in both cases it failed , if someone could notice something strange in the code or find a better way let me know:
first solution = false /true
second solution (case insentitive)= false / false
but in both cases it show me this:
nicodemus the problem is that you're returning after the first iteration of the loop. You need to check every word in the spamKeywords array, but your code doesn't do it.
spamKeywords