Simple filtering for profanity from website text. Not limited to static text, while avoiding performance impact.
< Feedback on Profanity Filter
Missing semicolonwhy? but i did the right way- const customWords = ['work',]
The right way to only filter the word "work" would be:const customWords = ['work'];
Sign in to post a reply.
Missing semicolon
why? but i did the right way-
const customWords = ['work',]