check if part of a word exists in an array javascript code example Example: not in array js !array.includes("element")