asterisk javascript code example
Example: function in JS
The function* declaration (function keyword followed by an asterisk) defines a generator function, which returns a Generator object.
The function* declaration (function keyword followed by an asterisk) defines a generator function, which returns a Generator object.