/generators

A simple implementation and explanation of generators in javascript

Primary LanguageJavaScript

🗺 Simple Introduction to Javascript Generators

Functions that can return multiple values at different time interval, as per the user demands and can manage its internal state are generator functions. A function becomes a GeneratorFunction if it uses the function* syntax.

Getting Started:

With yarn

  • yarn install
  • yarn generator

Contributing

🥤 Feel free to fork this repo and open a pull request.

Find me on Twitter at: @RiversJonas