Browse Source

Fix code in flow

content-update
Tlekbai Ali 4 years ago committed by Clément
parent
commit
1ede288960
  1. 2
      subjects/flow/README.md

2
subjects/flow/README.md

@ -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…
Cancel
Save