Last active
April 25, 2018 14:16
-
-
Save gpalsingh/e13e2d910a38fdd8f192cc0fe9a3b203 to your computer and use it in GitHub Desktop.
set_keys
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 animals = new Set(["rat", "dog", "cat", "horse", "elephant", "rat", "rat", "cat"]); | |
let animal_iter = animals.keys(); | |
console.log(animal_iter.next()); | |
console.log(animal_iter.next()); | |
console.log(animal_iter.next()); | |
console.log(animal_iter.next()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment