---
title: "Discussion on \"Getting started with generator functions in javascript.\" | Hashnode"
description: "Discussion on \"Getting started with generator functions in javascript.\". Generator functions in Javascript return a \"Generator\" Object.\nAnd a generator in return is a type of iterator. We can say an object is iterator when it has a next method\nsomeIterator.next() // {value:\"some value\",done: false)\nsomeIterator.next() // ..."
url: "https://hashnode.com/posts/getting-started-with-generator-functions-in-javascript/66696038d7f7a8869fc2a371"
---

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

Discussion

# [Getting started with generator functions in javascript.](https://lovingit.hashnode.dev/getting-started-with-generator-functions-in-javascript?utm_source=hashnode&utm_medium=feed)

Generator functions in Javascript return a "Generator" Object. And a generator in return is a type of iterator. We can say an object is iterator when it has a next method someIterator.next() // {value:"some value",done: false) someIterator.next() // ...

Mar 30, 2024 · 2 min read · lovingit.hashnode.dev  
Read the article

-   [#generator-functions-javascript](https://hashnode.com/tag/generator-functions-javascript)
-   [#redux-saga](https://hashnode.com/tag/redux-saga)

## Written by

[Ajay](https://hashnode.com/@Developthemagic)

@Developthemagic · India

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

lovingIt

I am web developer from India, who loves everything related to web development, martial arts, writing, playing outdoor games and hanging out with honest minded folks

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
