Created
January 19, 2019 16:25
-
-
Save mateusmarquezini/07dbcb0a4114b355ba8041d077000ad6 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) | |
console.log(setDados.size) // 3 | |
setDados.clear() | |
console.log(setDados.size) // 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment