mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 09:47:48 +00:00
Use "index" instead of "nth". [closes #2313] [ci skip]
This commit is contained in:
@@ -6849,8 +6849,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the nth element of `array`. If `n` is negative, the nth element
|
* Gets the element at `n` index of `array`. If `n` is negative, the nth
|
||||||
* from the end is returned.
|
* element from the end is returned.
|
||||||
*
|
*
|
||||||
* @static
|
* @static
|
||||||
* @memberOf _
|
* @memberOf _
|
||||||
@@ -14978,7 +14978,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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.
|
* the nth argument from the end is returned.
|
||||||
*
|
*
|
||||||
* @static
|
* @static
|
||||||
|
|||||||
Reference in New Issue
Block a user