From d1e9fec9f2a785dce131e232060740e1ed5cb33f Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Tue, 4 May 2021 14:59:36 +0300 Subject: [PATCH] docs... Signed-off-by: Alex A. Naanou --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 648c02f..22c1033 100644 --- a/README.md +++ b/README.md @@ -1621,7 +1621,8 @@ var a = generator.iter() var b = new generator.Generator() ``` -But `Generator()` takes no arguments and thus can not be used as a wrapper while `.iter(..)` is designed to accept an iterable value like an array object. +But `Generator()` takes no arguments and thus can not be used as a wrapper +while `.iter(..)` is designed to accept an iterable value like an array object. ### Generator instance iteration @@ -1629,7 +1630,8 @@ But `Generator()` takes no arguments and thus can not be used as a wrapper while This is a set of `Array`-like iterator methods that enable chaining of generators and `Promise`-like API to handle the generated results. -Chained generators handle items depth-first, i.e. the items are passed as they are yielded down the generator chain. +Chained generators handle items depth-first, i.e. the items are passed as they +are yielded down the generator chain. #### `.map(..)` / `.filter(..)` / `.reduce(..)`