JS Generator Functions
What are generator functions?
These are the functions that can be stopped midway and then continue from where they had stopped.
Generator functions are declared with the function*
function* generator(){
}
What do they exactly do?
In normal functions...
clover.hashnode.dev2 min read