Last active
July 13, 2019 13:00
-
-
Save parvezmrobin/d2f3e1929a89eebebb1a5c02b354003e 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
| const superHeroes = function* () { | |
| for(let node = head; node !== null; node = node.next) { | |
| yield node.name; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment