Update and rename compose.md to compose-functions.md

This commit is contained in:
Angelos Chalaris
2017-12-16 13:43:15 +02:00
committed by GitHub
parent fd3ef95ab3
commit 0b844e4b3a

View File

@ -1,4 +1,4 @@
### Compose
### Compose functions
Use `Array.reduce()` with the spread operator (`...`) to perform right-to-;eft function composition.
The last (rightmost) function can accept one or more arguments; the remaining functions must be unary.