Created
April 27, 2020 13:49
-
-
Save essamamdani/84eb0c35c506a495ee8183b4ca96e4c1 to your computer and use it in GitHub Desktop.
Check an item from the Set:
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
var setA = new Set(); | |
setA.add(“maps”); | |
setA.add("maps").add("filters").add("generators").add("arrow functions"); | |
setA.has(“promises”); | |
setA.has(“generators”); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment