how to check for multiple values in array in javascript code example Example: array contains multiple js var containsAll = arr1.every(i => arr2.includes(i));