From 2c65914e3bc4762c2c86570fb7ec9761c859fc7e Mon Sep 17 00:00:00 2001 From: Zhi Yin Date: Sun, 27 Sep 2020 16:13:21 -0400 Subject: [PATCH] correct minor typo --- .../2-async-iterators-generators/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/12-generators-iterators/2-async-iterators-generators/article.md b/1-js/12-generators-iterators/2-async-iterators-generators/article.md index 704ba067..10375f63 100644 --- a/1-js/12-generators-iterators/2-async-iterators-generators/article.md +++ b/1-js/12-generators-iterators/2-async-iterators-generators/article.md @@ -155,7 +155,7 @@ Now let's recall generators, as they allow to make iteration code much shorter. For sheer simplicity, omitting some important stuff, they are "functions that generate (yield) values". They are explained in detail in the chapter [](info:generators). -Generators are labelled with `function*` (note the start) and use `yield` to generate a value, then we can use `for..of` to loop over them. +Generators are labelled with `function*` (note the star) and use `yield` to generate a value, then we can use `for..of` to loop over them. This example generates a sequence of values from `start` to `end`: