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