function bind(fn, thisArg) {
    return function() { fn.apply(thisArg, arguments); };
  }
A generic `Function#bind` like method.

@private
@param {Function} fn The function to be bound to `thisArg`.
@param {Mixed} thisArg The `this` binding for the given function.
@returns {Function} The bound function.