function iteratorBind(func, thisArg) {
    return function(value, index, object) {
      return func.call(thisArg, value, index, object);
    };
  }
Creates a new function that, when called, invokes `func` with the `this`
binding of `thisArg` and the arguments (value, index, object).

@private
@param {Function} func The function to bind.
@param {Mixed} [thisArg] The `this` binding of `func`.
@returns {Function} Returns the new bound function.