Update article.md
This commit is contained in:
parent
ee4a91e56c
commit
bfd62b902a
1 changed files with 1 additions and 1 deletions
|
@ -458,7 +458,7 @@ If we don't catch the error there, then, as usual, it falls through to the outer
|
|||
|
||||
## Summary
|
||||
|
||||
- Generators are created by generator functions `function*(…) {…}`.
|
||||
- Generators are created by generator functions `function* f(…) {…}`.
|
||||
- Inside generators (only) there exists a `yield` operator.
|
||||
- The outer code and the generator may exchange results via `next/yield` calls.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue