GENERATOR FUNCTIONS.
Generator functions are functions that can be exited and later re-entered. Their context ( variable bindings ) will be saved across re-entrances.
Syntax
To write a generator function, we declare it almost as we would a normal function instead with a...
amara.hashnode.dev3 min read