mirror of
https://github.com/rjNemo/functional-programming-jargon
synced 2026-06-06 10:36:45 +00:00
Typo in function composition section
This commit is contained in:
parent
98fbaff76b
commit
e536145dd1
1 changed files with 1 additions and 1 deletions
|
|
@ -120,7 +120,7 @@ add2(10) // 12
|
|||
|
||||
## Function Composition
|
||||
|
||||
The act of putting two functions together to form a third function where the the output of one function is the input of the other.
|
||||
The act of putting two functions together to form a third function where the output of one function is the input of the other.
|
||||
|
||||
```js
|
||||
const compose = (f, g) => (a) => f(g(a)) // Definition
|
||||
|
|
|
|||
Loading…
Reference in a new issue