Fix code in flow

This commit is contained in:
Tlekbai Ali 2020-06-17 18:12:28 +06:00 committed by Clément
parent 78fd0e12c4
commit 1ede288960
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ from lodash.
const square = nbr => nbr * nbr
const add2Numbers = (nbr1, nbr2) => nbr1 + nbr2
const flowedFunctions = flow([add2numbers, square])
const flowedFunctions = flow([add2Numbers, square])
flowedFunctions(2, 3) // -> 25
```