From abf62e4868f48bb47c9067973db8df1439ff56dc Mon Sep 17 00:00:00 2001 From: Mark Thomson Date: Fri, 1 May 2020 16:10:22 -0700 Subject: [PATCH 1/2] findRight is actually findLast Not sure if this was renamed at some point but there's no "findRight" in lodash, just findLast. https://lodash.com/docs/4.17.15#findLast --- lodash.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lodash.md b/lodash.md index 515361ce6..ff22f68ac 100644 --- a/lodash.md +++ b/lodash.md @@ -15,7 +15,7 @@ description: | ```js _.filter(list, (n) => n % 2) // → Array _.find(list, (n) => n % 2) // → item -_.findRight(list, ...) // → item +_.findLast(list, ...) // → item ``` Works for both arrays and objects. From 9a73127177e50c18edbaaac90cc8c0d987c30baa Mon Sep 17 00:00:00 2001 From: "Rico Sta. Cruz" Date: Sat, 13 Jun 2020 10:09:54 +1000 Subject: [PATCH 2/2] Update lodash.md --- lodash.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lodash.md b/lodash.md index ff22f68ac..ba1fcc9d1 100644 --- a/lodash.md +++ b/lodash.md @@ -15,7 +15,7 @@ description: | ```js _.filter(list, (n) => n % 2) // → Array _.find(list, (n) => n % 2) // → item -_.findLast(list, ...) // → item +_.findLast(list, ...) // → item ``` Works for both arrays and objects.