Full-time web dev; JS lover since 2002; CSS fanatic. #CSSIsAwesome
I try to stay up with new web platform features. Web feature you don't understand? Tell me! I'll write an article!
He/him
Awesome overview! IMO iterators and generators are super underrated features of JavaScript. The Iterator protocol is definitely a little confusing, but generators make it way easier. It gets even more amazing when you add in async iterators, generators, and loops for iterating through sequential asynchronous processes! No more awkward Promise reducers necessary!
Really appreciate your comment Ken, thank you. I Couldn't have said better as a conclusion. I think I'll do an overview of async generators in order to complete the circle.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Awesome overview! IMO iterators and generators are super underrated features of JavaScript. The Iterator protocol is definitely a little confusing, but generators make it way easier. It gets even more amazing when you add in async iterators, generators, and loops for iterating through sequential asynchronous processes! No more awkward Promise reducers necessary!
Really appreciate your comment Ken, thank you. I Couldn't have said better as a conclusion. I think I'll do an overview of async generators in order to complete the circle.