array contains multiple js
snippet in javascript

array contains multiple js

user8829

var containsAll = arr1.every(i => arr2.includes(i));