Exploring JavaScript Generators: Simplifying Complex Iterations
The function* declaration creates a binding of a new generator function to a given name. A generator function can be exited and later re-entered, with its context (variable bindings) saved across re-entrances.
The above definition from MDN might seem...
semi-colon.hashnode.dev4 min read