From d7de4a35790fe1cb8e222b5fd95a050c8142a539 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Wed, 25 Jun 2014 09:31:17 -0700 Subject: [PATCH] Doc tweaks for `_.curryRight` and `basePartial`. [ci skip] --- lodash.js | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/lodash.js b/lodash.js index f59b71f4a..810ee9894 100644 --- a/lodash.js +++ b/lodash.js @@ -2044,8 +2044,9 @@ } /** - * The base implementation of `_.partial` and `_.partialRight` which handles - * resolving the arity of `func`. + * The base implementation of `_.partial` and `_.partialRight` which accepts + * an array of arguments to partially apply and handles resolving the arity + * of `func`. * * @private * @param {Function} func The function to partially apply arguments to. @@ -5447,8 +5448,8 @@ } /** - * This method is like `_.curry` except that arguments are applied from right - * to left. + * This method is like `_.curry` except that arguments are applied to `func` + * in the manner of `_.partialRight` instead of `_.partial`. * * Note: This method does not set the `length` property of curried functions. * @@ -5467,10 +5468,10 @@ * curried(3)(2)(1); * // => [1, 2, 3] * - * curried(3, 2)(1); + * curried(2, 3)(1); * // => [1, 2, 3] * - * curried(3, 2, 1); + * curried(1, 2, 3); * // => [1, 2, 3] */ function curryRight(func, arity) {