mirror of https://github.com/01-edu/public.git
Fix code in flow
This commit is contained in:
parent
78fd0e12c4
commit
1ede288960
|
@ -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
|
||||
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue