Last active
March 20, 2021 12:26
-
-
Save ashwinkumar2438/b0d409fd986917ea95293c9a140a9bfc 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
let fakearray={ | |
*[Symbol.iterator](){ | |
let i=0; | |
while(i<10){ | |
i++; | |
yield i; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment