September 2018
Intermediate to advanced
302 pages
7h 17m
English
In the previous section, we traversed many different collections, even nested ones. Now, it's time to learn more about the iterator pattern. This pattern especially shines if you plan to use the Redux Saga library.
To recap, in JavaScript, an iterator is an object that knows how to traverse items of a collection one at a time. It must expose the next() function, which returns the next item of a collection. The collection can be whatever it wants. It can even be an infinite collection, such as the Fibonacci ...
Read now
Unlock full access