Lines Matching defs:thisArg
477 * with the `this` binding of `thisArg` and the arguments of `args`.
481 * @param {*} thisArg The `this` binding of `func`.
485 function apply(func, thisArg, args) {
487 case 0: return func.call(thisArg);
488 case 1: return func.call(thisArg, args[0]);
489 case 2: return func.call(thisArg, args[0], args[1]);
490 case 3: return func.call(thisArg, args[0], args[1], args[2]);
492 return func.apply(thisArg, args);
4430 return action.func.apply(action.thisArg, arrayPush([result], action.args));
4977 * binding of `thisArg`.
4982 * @param {*} [thisArg] The `this` binding of `func`.
4985 function createBind(func, bitmask, thisArg) {
4991 return fn.apply(isBind ? thisArg : this, arguments);
5189 * binding of `thisArg`, partial application, and currying.
5194 * @param {*} [thisArg] The `this` binding of `func`.
5206 function createHybrid(func, bitmask, thisArg, partials, holders, partialsRight, holdersRight, argPos, ary, arity) {
5236 func, bitmask, createHybrid, wrapper.placeholder, thisArg,
5240 var thisBinding = isBind ? thisArg : this,
5319 var thisArg = this;
5321 return apply(iteratee, thisArg, args);
5351 * of `thisArg` and `partials` prepended to the arguments it receives.
5356 * @param {*} thisArg The `this` binding of `func`.
5361 function createPartial(func, bitmask, thisArg, partials) {
5379 return apply(fn, isBind ? thisArg : this, args);
5434 * @param {*} [thisArg] The `this` binding of `func`.
5443 function createRecurry(func, bitmask, wrapFunc, placeholder, thisArg, partials, holders, argPos, ary, arity) {
5457 func, bitmask, thisArg, newPartials, newHolders, newPartialsRight,
5542 * @param {*} [thisArg] The `this` binding of `func`.
5550 function createWrap(func, bitmask, thisArg, partials, holders, argPos, ary, arity) {
5573 func, bitmask, thisArg, partials, holders, partialsRight, holdersRight,
5582 thisArg = newData[2];
5593 var result = createBind(func, bitmask, thisArg);
5597 result = createPartial(func, bitmask, thisArg, partials);
6531 // Use source `thisArg` if available.
8892 'thisArg': undefined
9092 'thisArg': undefined
10128 * Creates a function that invokes `func` with the `this` binding of `thisArg`
10142 * @param {*} thisArg The `this` binding of `func`.
10162 var bind = baseRest(function(func, thisArg, partials) {
10168 return createWrap(func, bitmask, thisArg, partials, holders);
10397 thisArg = lastThis;
10401 result = func.apply(thisArg, args);
15802 actions.push({ 'func': func, 'args': arguments, 'thisArg': object });
17110 result.__actions__.push({ 'func': thru, 'args': [interceptor], 'thisArg': undefined });