Fix doc nits for _.nth. [ci skip]

This commit is contained in:
Jeroen Engels
2016-04-13 18:39:09 +02:00
committed by John-David Dalton
parent 7e885a4ddd
commit ef67e07732

View File

@@ -3303,9 +3303,9 @@
* The base implementation of `_.nth` which doesn't coerce `n` to an integer. * The base implementation of `_.nth` which doesn't coerce `n` to an integer.
* *
* @private * @private
* @param {Array} array The array to inspect. * @param {Array} array The array to query.
* @param {number} n The index of the element to return. * @param {number} n The index of the element to return.
* @returns {*} Returns the nth element. * @returns {*} Returns the nth element of `array`.
*/ */
function baseNth(array, n) { function baseNth(array, n) {
var length = array.length; var length = array.length;
@@ -6685,9 +6685,9 @@
* @memberOf _ * @memberOf _
* @since 4.11.0 * @since 4.11.0
* @category Array * @category Array
* @param {Array} array The array to inspect. * @param {Array} array The array to query.
* @param {number} [n=0] The index of the element to return.. * @param {number} [n=0] The index of the element to return.
* @returns {*} Returns the nth element. * @returns {*} Returns the nth element of `array`.
* @example * @example
* *
* var array = ['a', 'b', 'c', 'd']; * var array = ['a', 'b', 'c', 'd'];