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

    if (thisArg !== undefined) {
      callback = function(value, index, array) {
        return fn.call(thisArg, value, index, array);
      };
    }
    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 {Object} thisArg The `this` binding for the callback function.
@returns {Array} Returns the array iterated over.