mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 01:57:50 +00:00
Bump to v4.12.0.
This commit is contained in:
@@ -3,7 +3,7 @@ import rest from './rest';
|
||||
import toInteger from './toInteger';
|
||||
|
||||
/**
|
||||
* Creates a function that returns its nth argument. If `n` is negative,
|
||||
* Creates a function that gets the argument at `n` index. If `n` is negative,
|
||||
* the nth argument from the end is returned.
|
||||
*
|
||||
* @static
|
||||
@@ -11,7 +11,7 @@ import toInteger from './toInteger';
|
||||
* @since 4.0.0
|
||||
* @category Util
|
||||
* @param {number} [n=0] The index of the argument to return.
|
||||
* @returns {Function} Returns the new function.
|
||||
* @returns {Function} Returns the new pass-thru function.
|
||||
* @example
|
||||
*
|
||||
* var func = _.nthArg(1);
|
||||
|
||||
Reference in New Issue
Block a user