includes multiple value check code example
Example 1: array contains multiple js
var containsAll = arr1.every(i => arr2.includes(i));
Example 2: multiple conditions for JavaScript .includes() method
const str = "hi, there"
const res = str.includes("hello") || str.includes("hi") || str.includes('howdy');
console.log(res); // true