Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

JavaScript Sets

// Create a Set
const letters = new Set();

// Add Values to the Set
letters.add("a");
letters.add("b");
letters.add("c");
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #JavaScript #Sets
ADD COMMENT
Topic
Name
2+2 =