Created
January 13, 2020 14:48
-
-
Save cesarkohl/98a084bf0845c9f74cf5ad54a1e8d2a1 to your computer and use it in GitHub Desktop.
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
| var songs = new Set ([ | |
| 'song1', 'song2', 'song3' | |
| ]); | |
| songs.clear (); | |
| for (var music of songs) { | |
| console.log (music); // anything | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment