---
title: "Discussion on \"JavaScript Generators...What and Why?\" | Hashnode"
description: "Discussion on \"JavaScript Generators...What and Why?\". In this post, I'm explaining the basic idea behind javascript generators and how I initially understood how they work, I also added a couple of examples."
url: "https://hashnode.com/posts/javascript-generatorswhat-and-why/60ff2b081be2da0c4ab77fad"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [JavaScript Generators...What and Why?](https://blog.sekab.dev/javascript-generatorswhat-and-why?utm_source=hashnode&utm_medium=feed)

In this post, I'm explaining the basic idea behind javascript generators and how I initially understood how they work, I also added a couple of examples.

Jul 26, 2021 · 5 min read · blog.sekab.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#tutorial](https://hashnode.com/tag/tutorial)
-   [#generators](https://hashnode.com/tag/generators)
-   [#js](https://hashnode.com/tag/js)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)

## Written by

[Amr Ahmed Taher](https://hashnode.com/@sekab)

@sekab · Cairo, Egypt

  
[View profile](https://hashnode.com/@sekab)

Software Engineer @Vodafone

Software engineer @Vodafone | Frontend with +3 years of experience. I enjoy pretty much anything that is made with JavaScript and I love looking at old code bases and refactor it. I'm an anime lover and a league of legends player so add me @sekab on EUNE sever :)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
