From a2303a7336fe348d003d6b0d848ce6ba69ef9db7 Mon Sep 17 00:00:00 2001
From: kelvin
Date: Sat, 24 Jun 2023 16:35:43 +0300
Subject: [PATCH] =?UTF-8?q?kelvin-go-get=F0=9F=91=8C?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
README.md | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 2272d3f..c523517 100644
--- a/README.md
+++ b/README.md
@@ -574,7 +574,7 @@ in the right order.
performs a transformation for each
element of a given array, recursively
-filterRecurse(array, predicate) ⇒ array
+filterRecurse(array, predicate) ⇒ array
Make a function filterRecurse
that
takes in an array and a predicate
function and returns a new array by
@@ -595,6 +595,14 @@ that argument
| ----- | ---------------- |
| x | any
|
+```js
+identity(x) // X
+
+function identity(x) {
+ return x;
+}
+
+
**Example**
```js