function forEach(array, callback, thisArg) {
    var index = -1,
        length = (array = Object(array)).length >>> 0;

    if (thisArg !== undefined) {
      callback = bind(callback, thisArg);
    }
    while (++index < length) {
      if (index in array &&
          callback(array[index], index, array) === false) {
        break;
      }
    }
    return array;
  }
A generic `Array#forEach` like method.
Callbacks may terminate the loop by explicitly returning `false`.

@static
@memberOf Benchmark
@param {Array} array The array to iterate over.
@param {Function} callback The function called per iteration.
@param {Mixed} thisArg The `this` binding for the callback.
@returns {Array} Returns the array iterated over.