function(sentence){
        const split = sentence.toLowerCase().split(/\s+/);
        for(const word of split){
            if(bannedWords.indexOf(word) !== -1)
                return false;
        }
        
        return true;
    }
function(sentence){
        const split = sentence.toLowerCase().split(/\s+/);
        for(const word of split){
            if(bannedWords.indexOf(word) !== -1)
                return false;
        }
        
        return true;
    }
function ( sentence ) { const split = sentence . toLowerCase ( ) . split ( / \s+ / ) ; for ( const word of split ) { if ( bannedWords . indexOf ( word ) !== - 1 ) return false ; } return true ; }
Check if: - the sentence contains any banned acronyms
Check if : - the sentence contains any banned acronyms