mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 07:47:49 +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
|
||||
* from the end is returned.
|
||||
* Gets the element at `n` index of `array`. If `n` is negative, the nth
|
||||
* element from the end is returned.
|
||||
*
|
||||
* @static
|
||||
* @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.
|
||||
*
|
||||
* @static
|
||||
|
||||
Reference in New Issue
Block a user