Skip to content

Instantly share code, notes, and snippets.

@programadriano
Created January 8, 2018 11:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save programadriano/c59ac33431dabdff55fd7aeda2a303af to your computer and use it in GitHub Desktop.
Save programadriano/c59ac33431dabdff55fd7aeda2a303af to your computer and use it in GitHub Desktop.
RundownWorthyCreature created by tadriano - https://repl.it/@tadriano/RundownWorthyCreature
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