javascript-definitive-guide/notes/chap12_iterators_and_genera...

25 lines
495 B
Markdown
Raw Permalink Normal View History

# Chapter 12. Iterators and Generators
2021-01-15 16:34:19 +11:00
## 12.1 How Iterators Work
## 12.2 Implementing Iterable Objects
### 12.2.1 “Closing” an Iterator: The Return Method
## 12.3 Generators
### 12.3.1 Generator Examples
### 12.3.2 yield* and Recursive Generators
## 12.4 Advanced Generator Features
### 12.4.1 The Return Value of a Generator Function
### 12.4.2 The Value of a yield Expression
### 12.4.3 The return() and throw() Methods of a Generator
### 12.4.4 A Final Note About Generators