JavaScript Jabber cover image

Things Coming Down the Pipe From TC39 - JSJ 590

JavaScript Jabber

CHAPTER

The Benefits of Using Iterators in Your Code

Overall I'm personally really happy with it. But I do have a bit of criticism. They decided to implement it as methods on the iterator objects, which means that you change the functions like you do with arrays. So instead of chaining using the dot operator, we would have piped it from one function to the next. Hopefully, I'm explaining it this kind of well.

00:00
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner