Skip to content

Instantly share code, notes, and snippets.

@essamamdani
Created April 27, 2020 16:02
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 essamamdani/efb05ce7c4117b39877091f0951a43fd to your computer and use it in GitHub Desktop.
Save essamamdani/efb05ce7c4117b39877091f0951a43fd to your computer and use it in GitHub Desktop.
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