Skip to content

Commit d1a4550

Browse files
authored
Update article.md
"We can get loop over values by `for..of`:" -> "We can loop over their values using `for..of`"
1 parent a193448 commit d1a4550

File tree

1 file changed

+1
-1
lines changed
  • 1-js/12-generators-iterators/1-generators

1 file changed

+1
-1
lines changed

1-js/12-generators-iterators/1-generators/article.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ But usually the first syntax is preferred, as the star `*` denotes that it's a g
102102
103103
As you probably already guessed looking at the `next()` method, generators are [iterable](info:iterable).
104104
105-
We can get loop over values by `for..of`:
105+
We can loop over their values using `for..of`:
106106
107107
```js run
108108
function* generateSequence() {

0 commit comments

Comments
 (0)