From 56ce89e04f6b2440894cbf5233d09d98b580ea5c Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Thu, 6 Nov 2014 20:42:33 -0800 Subject: [PATCH] Tweak `_.curry` and `_.curryRight` docs. [ci skip] --- lodash.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lodash.js b/lodash.js index 095b323c1..a0d546b29 100644 --- a/lodash.js +++ b/lodash.js @@ -6259,7 +6259,7 @@ /** * Creates a function that accepts one or more arguments of `func` that when - * called either invokes `func` returning its result if all `func` arguments + * called either invokes `func` returning its result, if all `func` arguments * have been provided, or returns a function that accepts one or more of the * remaining `func` arguments, and so on. The arity of `func` can be specified * if `func.length` is not sufficient. @@ -6276,7 +6276,7 @@ * @example * * var curried = _.curry(function(a, b, c) { - * console.log([a, b, c]); + * return [a, b, c]; * }); * * curried(1)(2)(3); @@ -6310,7 +6310,7 @@ * @example * * var curried = _.curryRight(function(a, b, c) { - * console.log([a, b, c]); + * return [a, b, c]; * }); * * curried(3)(2)(1);