Update article.md

Making clear that "values" is a key word, not a generic term.
This commit is contained in:
Peter Roche 2020-02-03 23:42:28 -07:00 committed by GitHub
parent d1a455080d
commit 15ef3878dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -102,7 +102,7 @@ But usually the first syntax is preferred, as the star `*` denotes that it's a g
As you probably already guessed looking at the `next()` method, generators are [iterable](info:iterable).
We can loop over their values using `for..of`:
We can loop over their `value`s using `for..of`:
```js run
function* generateSequence() {