JavaScript Jabber cover image

Things Coming Down the Pipe From TC39 - JSJ 590

JavaScript Jabber

CHAPTER

How to Create a Custom Iterator

A lot of other programming languages, by the way, have their own. iterator, libraries and implementations. So what's a use case for creating your own custom iterators? Well, if you're creating some sort of collection or sequence,. it's just a really nice way of encapsulating iteration. You can theoretically create your own data structures if you want. But like I said, most people just don't do it.

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