Generators returns an iterable object
a generator returns an object
a generator object has a key Symbol.iterator
the Symbol.iterator
is a function
can be looped with for-of
, which expects an iterable
Required Knowledge
- creation (Generator)
Related Katas
Generator
- creation
- iterator
- yield expressions
- send value to a generator
- send function to a generator
return
inside a generator function
Difficulty Level
TBD
First Published
3 June 2015
Stats
4 tests to solve