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
David Hsing
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