Tips from open-source: Generator function in Javascript.
As I was reading the Next.js source code, I saw a function name prefixed with "*". My first thought was “Is this a ponter in Javascript?”. After some research on Google, I found that these functions prefixed with "\"* are called generator functions. ...
ramunarasinga.hashnode.dev3 min read