From b28589d13ceab500edb25680be65358b42e6bf5a Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sun, 30 Sep 2018 01:59:57 +0300 Subject: [PATCH] fixed a typo... Signed-off-by: Alex A. Naanou --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 10a0f44..c271c22 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ And for *flat* lists `.reduce(..)` and friends are simpler and more logical. `wa // sum the items in a *deep* array (depth-first)... var sum = walk(function(r, n, next){ return n instanceof Array ? - next('queue', r, ...n) + next('do', r, ...n) : r + n }, 0) sum( [1, [2, 3], 4, [[5], 6]] ) // -> 21