Skip to content

Instantly share code, notes, and snippets.

@mateusmarquezini
Created January 19, 2019 15:46
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 mateusmarquezini/2d81b933992ab460aaddcb414bb9f47c to your computer and use it in GitHub Desktop.
Save mateusmarquezini/2d81b933992ab460aaddcb414bb9f47c to your computer and use it in GitHub Desktop.
let setDados = new Set([1, "dois", 3, "quatro", 5])
for (valor of setDados){
console.log(valor) // 1, dois, 3, quatro, 5
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment