function ArraySome(f, receiver) {
  CHECK_OBJECT_COERCIBLE(this, "Array.prototype.some");

  // Pull out the length so that modifications to the length in the
  // loop will not affect the looping and side effects are visible.
  var array = TO_OBJECT(this);
  var length = TO_LENGTH(array.length);
  return InnerArraySome(f, receiver, array, length);
}
function ArraySome(f, receiver) {
  CHECK_OBJECT_COERCIBLE(this, "Array.prototype.some");

  
  
  var array = TO_OBJECT(this);
  var length = TO_LENGTH(array.length);
  return InnerArraySome(f, receiver, array, length);
}
function ArraySome ( f , receiver ) { CHECK_OBJECT_COERCIBLE ( this , "Array.prototype.some" ) ; // Pull out the length so that modifications to the length in the // loop will not affect the looping and side effects are visible. var array = TO_OBJECT ( this ) ; var length = TO_LENGTH ( array . length ) ; return InnerArraySome ( f , receiver , array , length ) ; }
Executes the function once for each element present in the array until it finds one where callback returns true.
Executes the function once for each element present in the array until it finds one where callback returns true .