Created
February 16, 2018 19:32
-
-
Save awto/88a83cc36966e0700a03c8874f34730b to your computer and use it in GitHub Desktop.
This file contains hidden or 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() { | |
| for(let i = 0; i < 10000;i++) { | |
| yield i | |
| yield i+1 | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment