Created
December 1, 2019 23:14
-
-
Save Floofies/11c8cbc7d2fcc5bf8363085961eb7013 to your computer and use it in GitHub Desktop.
Compiler Output Test
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
for (const foo of bar) { | |
// Source | |
} | |
// Transform to equivalent of: | |
const hzIterator = bar(); | |
while(true) { | |
const hzIteratorState = hzIterator.next(); | |
if (hzIteratorState.done) break; | |
const foo = hzIteratorState = state.value; | |
// Source | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment