---
title: "Comment by Steven Olsen on \"Generator Functions: Zero to Hero\" | Hashnode"
description: "Here are more examples of what you can do with generator functions--efficient number ranges, and how to convert generators into arrays: https://gist.github.com/"
url: "https://hashnode.com/posts/javascript-generator-functions/63caef2e05b5642ef9e813c0/comment/63cf095db0e841d4136d9866"
---

[Discussion](https://hashnode.com/posts/javascript-generator-functions/63caef2e05b5642ef9e813c0)

Comment [Generator Functions: Zero to Hero](https://hashnode.com/posts/javascript-generator-functions/63caef2e05b5642ef9e813c0)

[Steven Olsen](https://hashnode.com/@srjsdev)

[Jan 23, 2023](https://hashnode.com/posts/javascript-generator-functions/63caef2e05b5642ef9e813c0/comment/63cf095db0e841d4136d9866)

Here are more examples of what you can do with generator functions--efficient number ranges, and how to convert generators into arrays:

[gist.github.com/crazy4groovy/4d871aadad1d71754a86…](https://gist.github.com/crazy4groovy/4d871aadad1d71754a863e92f119c489)
