Created
April 24, 2016 15:25
-
-
Save gurucharanmk/10e1bc40d6fae8d787e76c00d64b1f86 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
let colors = [ "red", "green", "blue" ]; | |
let iter = colors.entries(); | |
let entry; | |
while (!(entry = iter.next()).done) { | |
console.log(entry.value); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment