diff --git a/manuscript/ch4.md b/manuscript/ch4.md index 96f5b2cf..37f52878 100644 --- a/manuscript/ch4.md +++ b/manuscript/ch4.md @@ -118,7 +118,7 @@ function uniqueWords(str) { `uniqueWords(..)` takes a string and returns an array. It's a composition of the two functions: `unique(..)` and `words(..)`; it creates this flow of data: ```txt -wordsUsed <-- unique <-- words <-- text +uniqueWords <-- unique <-- words <-- text ``` You probably recognize it by now: the unfolding revolution in candy factory design is function composition.