▲ A Simple Explanation of JavaScript Iterators at dmitripavlutin.com▼1 up and 0 down, posted by panzerdp 1656 days ago 2 comments
tracker1 1655 days ago. link 1 point ▲ ▼Missing generator functions... async generators are really cool as well, combined with for-await.
panzerdp 1654 days ago. link 1 point ▲ ▼Don't mix oranges with orange juice. The post's sole purpose is to explain iterators in the most the accessible way. Generators are deliberately omitted because they're too complex, and, if mentioned, would introduce confusion to the reader.