Update juxt.md
This commit is contained in:
@ -17,10 +17,10 @@ juxt(
|
||||
x => x + 1,
|
||||
x => x - 1,
|
||||
x => x * 10
|
||||
)(1, 2, 3) // [[2,3,4],[0,1,2],[10,20,30]]
|
||||
)(1, 2, 3); // [[2,3,4],[0,1,2],[10,20,30]]
|
||||
|
||||
juxt(
|
||||
s => s.length,
|
||||
s => s.split(" ").join("-")
|
||||
)("30 seconds of code") // [[18],['30-seconds-of-code']]
|
||||
)("30 seconds of code"); // [[18],['30-seconds-of-code']]
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user