JS: Set (class)
(new in ECMAScript 2015)
What is the Keyword “Set”
Purpose of Set is:
- To create “set” objects.
- Used as a namespace to hold static methods.
- Holds the property key
"prototype". Its value is the parent of all set objects.
(new in ECMAScript 2015)
Purpose of Set is:
"prototype". Its value is the parent of all set objects.