---
title: "Comment by Todd on \"What are JS Generators?\" | Hashnode"
description: "I&#39;ve been curious for some time now about generators. They seem incredibly powerful; yet I&#39;ve never used them IRL. What are some real-world use cases fo"
url: "https://hashnode.com/posts/what-are-js-generators/5fc7d5296819c54efdf2e68e/comment/5fc941f005b16664beec480e"
---

[Discussion](https://hashnode.com/posts/what-are-js-generators/5fc7d5296819c54efdf2e68e)

Comment [What are JS Generators?](https://hashnode.com/posts/what-are-js-generators/5fc7d5296819c54efdf2e68e)

[Todd](https://hashnode.com/@toddpress)

[Dec 3, 2020](https://hashnode.com/posts/what-are-js-generators/5fc7d5296819c54efdf2e68e/comment/5fc941f005b16664beec480e)

I've been curious for some time now about generators. They seem incredibly powerful; yet I've never used them IRL. What are some real-world use cases for generators?

[shadowtime2000](https://hashnode.com/@shadowtime2000)

[Dec 3, 2020](https://hashnode.com/posts/what-are-js-generators/5fc7d5296819c54efdf2e68e/comment/5fc941f005b16664beec480e#reply-5fc94221df0f3764e3defb78)

I believe they are mainly for readable iterators.
