Returns whether the given array includes all the given elements
Optional
the array to check
the elements to compare
whether the given array includes all the given elements
includesAll(['foo', 'bar'], ['foo', 'bar']); // trueincludesAll(['foo', 'bar'], ['foo', 'world']); // false Copy
includesAll(['foo', 'bar'], ['foo', 'bar']); // trueincludesAll(['foo', 'bar'], ['foo', 'world']); // false
Returns whether the given array includes all the given elements