Created
January 8, 2018 11:42
-
-
Save programadriano/c59ac33431dabdff55fd7aeda2a303af to your computer and use it in GitHub Desktop.
RundownWorthyCreature created by tadriano - https://repl.it/@tadriano/RundownWorthyCreature
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 movies = new Map(); | |
movies.set(1, 'The Godfather'); | |
movies.set(2, 'The Shawshank Redemption'); | |
movies.set(3, 'Schindler’s List'); | |
movies.set(4, 'Raging Bull'); | |
movies.set(5, 'Casablanca'); | |
movies.set(6, 'Citizen Kane'); | |
movies.set(7, 'Gone with the Wind'); | |
movies.set(8, 'The Wizard of Oz'); | |
movies.set(9, 'One Flew Over the Cuckoo’s Nest'); | |
movies.set(10, 'Lawrence of Arabia'); | |
for (let movie of movies) { | |
console.log(movie); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment