Skip to content

Instantly share code, notes, and snippets.

@Ibro Ibro/Set.js
Created Feb 26, 2018

Embed
What would you like to do?
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) {
console.log(item);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.