Skip to content

Commit 102809f

Browse files
renaudtertraishemanth
authored andcommitted
Add an another example for lift (#79)
I found it quite confusing at first sight. Perhaps it would be useful for futur readers to have a second example.
1 parent b0b2102 commit 102809f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

readme.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,7 @@ Unlike map lift can be used to combine values from multiple arrays:
327327

328328
```js
329329
lift((a, b) => a * b)([1, 2], [3]); // [3, 6]
330+
lift((a, b) => a * b)([1, 2], [3, 4]); // [3, 6, 4, 8]
330331
```
331332

332333
## Referential Transparency

0 commit comments

Comments
 (0)