From 738dc50a6f47357e88d6657b97558ecd0b936feb Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Tue, 6 Nov 2012 01:55:23 -0800 Subject: [PATCH] Correct `_.initial` and `_.rest` documentation. [closes #104] Former-commit-id: d9ace8a8198b22def34c1ae3adc9421ab97790fa --- lodash.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lodash.js b/lodash.js index 352dcdfde..fd7623dc9 100644 --- a/lodash.js +++ b/lodash.js @@ -2667,7 +2667,7 @@ * @memberOf _ * @category Arrays * @param {Array} array The array to query. - * @param {Number} [n] The number of elements to return. + * @param {Number} [n=1] The number of elements to exclude. * @param- {Object} [guard] Internally used to allow this method to work with * others like `_.map` without using their callback `index` argument for `n`. * @returns {Array} Returns all but the last element or `n` elements of `array`. @@ -2867,7 +2867,7 @@ * @alias drop, tail * @category Arrays * @param {Array} array The array to query. - * @param {Number} [n] The number of elements to return. + * @param {Number} [n=1] The number of elements to exclude. * @param- {Object} [guard] Internally used to allow this method to work with * others like `_.map` without using their callback `index` argument for `n`. * @returns {Array} Returns all but the first value or `n` values of `array`.