Merge pull request #63 from galopezb/patch-1

Typo in function composition section
This commit is contained in:
hemanth.hm 2016-07-25 10:17:02 +05:30 committed by GitHub
commit 4e69ee2adf

View file

@ -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