From c4d1a26576cc67d07dc10835e7e6429ae3e78320 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sun, 30 Sep 2018 02:01:03 +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 c271c22..859d369 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,7 @@ And for *flat* lists `.reduce(..)` and friends are simpler and more logical. `wa // abort search, report number of nodes visited... stop(this.nodes_visited+1) : e instanceof Array ? - next('queue', ...e) + next('do', ...e) : (this.nodes_visited++, r) }, false) containsZero( [1, [2, 0], 4, [[5], 6]] ) // -> 3