Skip to content

Instantly share code, notes, and snippets.

@muhsalaa
Created December 2, 2020 13:11
Show Gist options
  • Save muhsalaa/61977dc403fe852448b330eb5eec4be7 to your computer and use it in GitHub Desktop.
Save muhsalaa/61977dc403fe852448b330eb5eec4be7 to your computer and use it in GitHub Desktop.
Bag of words of dirty word in indonesia and other language
// simple function to check duplicate exist
function dupe(arr) {
return [...new Set(arr)].length === arr.length
}
// BOW
const misuh_warning = [
'asu','4su','45u','a5u',
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment