From ef67e077326a3dc4c735f8529c2ee7323d60523f Mon Sep 17 00:00:00 2001 From: Jeroen Engels Date: Wed, 13 Apr 2016 18:39:09 +0200 Subject: [PATCH] Fix doc nits for `_.nth`. [ci skip] --- lodash.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lodash.js b/lodash.js index f52b48391..5c8f12f35 100644 --- a/lodash.js +++ b/lodash.js @@ -3303,9 +3303,9 @@ * The base implementation of `_.nth` which doesn't coerce `n` to an integer. * * @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. - * @returns {*} Returns the nth element. + * @returns {*} Returns the nth element of `array`. */ function baseNth(array, n) { var length = array.length; @@ -6685,9 +6685,9 @@ * @memberOf _ * @since 4.11.0 * @category Array - * @param {Array} array The array to inspect. - * @param {number} [n=0] The index of the element to return.. - * @returns {*} Returns the nth element. + * @param {Array} array The array to query. + * @param {number} [n=0] The index of the element to return. + * @returns {*} Returns the nth element of `array`. * @example * * var array = ['a', 'b', 'c', 'd'];