---
title: "Comment by Favourite Jome on \"Working with generator functions in Javascript\" | Hashnode"
description: "Hey David Ajuka , thanks for sharing! The last example, I&#39;m not sure I understand the, but I&#39;ll have to run the code to do so. May I ask, what other exa"
url: "https://hashnode.com/posts/working-with-generator-functions-in-javascript/63f1446b76f5810908fc9b97/comment/63f1b3200e63a77a616febba"
---

[Discussion](https://hashnode.com/posts/working-with-generator-functions-in-javascript/63f1446b76f5810908fc9b97)

Comment [Working with generator functions in Javascript](https://hashnode.com/posts/working-with-generator-functions-in-javascript/63f1446b76f5810908fc9b97)

[Favourite Jome](https://hashnode.com/@Favourite)

[Feb 19, 2023](https://hashnode.com/posts/working-with-generator-functions-in-javascript/63f1446b76f5810908fc9b97/comment/63f1b3200e63a77a616febba)

Hey [David Ajuka](https://hashnode.com/@Ajuka), thanks for sharing!

The last example, I'm not sure I understand the, but I'll have to run the code to do so.

May I ask, what other examples can a generator function be used?
