core/util.js
function partial(f /*, args*/) {
  var args = rest(arguments);

  if (NATIVE_FUNCTION_BIND) {
    args.unshift(undefined);
    return NATIVE_FUNCTION_BIND.apply(f, args);
  }

  return function partialExecute_() {
    var args2 = slice(arguments, 0);
    return f.apply(this, args.concat(args2));
  };
}
function partial(f /*, args*/) {
  var args = rest(arguments);

  if (NATIVE_FUNCTION_BIND) {
    args.unshift(undefined);
    return NATIVE_FUNCTION_BIND.apply(f, args);
  }

  return function partialExecute_() {
    var args2 = slice(arguments, 0);
    return f.apply(this, args.concat(args2));
  };
}
function partial ( f /*, args*/ ) { var args = rest ( arguments ) ; if ( NATIVE_FUNCTION_BIND ) { args . unshift ( undefined ) ; return NATIVE_FUNCTION_BIND . apply ( f , args ) ; } return function partialExecute_ ( ) { var args2 = slice ( arguments , 0 ) ; return f . apply ( this , args . concat ( args2 ) ) ; } ; }
Partially apply a function.
Partially apply a function .