Created
April 25, 2018 13:57
-
-
Save gpalsingh/00fb68ba75dcb292943529a2e7d197ee to your computer and use it in GitHub Desktop.
set_delete
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
const animals = new Set(["rat", "dog", "cat", "horse", "elephant", "rat", "rat", "cat"]); | |
console.log(animals.delete("rat")); | |
console.log(animals.delete("rat")); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment