bindInternal4 = function bindInternal4(func, thisContext) {
    return function (a, b, c, d) {
      return func.call(thisContext, a, b, c, d);
    };
  }
Internal helper to bind a function known to have 4 arguments
to a given context.