Some, every and indexOf methods on arrays
Introduced in ES5, the only difference between Array.prototype.some() and Array.prototype.every() is the following:
some() is used to check if at least one of the elements of the array passes the test implemented by the provided function;
every() is...
plasebo.hashnode.dev3 min read