Generator Functions: Zero to Hero
Hello and welcome.
Huh? You're going to teach me about something I don't absolutely need to know?
Yes, that's right. Let me explain first, and then you can decide whether to read on or not. But if you stick around, I think you'll enjoy the ride while...
srjsdev.hashnode.dev6 min read
Steven Olsen
Online educator and mentor for Sr. JS developers
Here are more examples of what you can do with generator functions--efficient number ranges, and how to convert generators into arrays:
gist.github.com/crazy4groovy/4d871aadad1d71754a86…