-
-
Save ahamedali95/1fe9d64f9a1b1bfcbf7bcdb3aa7ccb94 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function *generator() { | |
return 'value'; | |
} | |
console.log(generator()); //=> Object [Generator] {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment