Javascript: Array.prototype.some()

Rating: 3

arr.some() tests whether at least one element in array ‘arr’ matches a predicate.