Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
iterating sets through arrow function
ar setA = new Set();
setA.add(“maps”);
setA.add("maps").add("filters").add("generators").add("arrow functions");
setA.forEach(set => {
document.write(set + "<br/>")
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment