From 5dcd58a75f142b5b5f7bfc21aada42139c0acba5 Mon Sep 17 00:00:00 2001 From: jdalton Date: Tue, 17 Mar 2015 10:23:59 -0700 Subject: [PATCH] Tweak `_.findIndex` docs and correct `_.findKey` docs. [ci skip] --- lodash.src.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lodash.src.js b/lodash.src.js index 47d481725..e1a924aa7 100644 --- a/lodash.src.js +++ b/lodash.src.js @@ -4692,7 +4692,7 @@ /** * This method is like `_.find` except that it returns the index of the first - * element `predicate` returns truthy for, instead of the element itself. + * element `predicate` returns truthy for instead of the element itself. * * If a property name is provided for `predicate` the created `_.property` * style callback returns the property value of the given element. @@ -9018,8 +9018,8 @@ }); /** - * This method is like `_.findIndex` except that it returns the key of the - * first element `predicate` returns truthy for, instead of the element itself. + * This method is like `_.find` except that it returns the key of the first + * element `predicate` returns truthy for instead of the element itself. * * If a property name is provided for `predicate` the created `_.property` * style callback returns the property value of the given element.