Skip to content

Instantly share code, notes, and snippets.

@Ibro
Last active February 26, 2018 09:23
Show Gist options
  • Save Ibro/6b911ec03bd74ff8a3aa8c9e29197a7d to your computer and use it in GitHub Desktop.
Save Ibro/6b911ec03bd74ff8a3aa8c9e29197a7d to your computer and use it in GitHub Desktop.
CodingBlast blog - Set, Map - https://codingblast.com/javascript-set-map/
let set = new Set([3, 5, true, 'This is a string, obviously.']);
for (let item of set.values()) {
console.log(item);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment