Created
January 19, 2019 16:15
-
-
Save mateusmarquezini/c4670a2978c7321ce0eb3ec16f7aaf97 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let setDados = new Set() | |
setDados.add(1) | |
setDados.add(2) | |
setDados.add(3) | |
setDados.delete(1) | |
for (valor of setDados){ | |
console.log(valor) // 2, 3 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment