Set object
- The Set object is a collection of unique values, meaning that duplicate values are not allowed.
- Set provides methods for adding, deleting, and checking the existence of values in the set.
- Set can be used to remove duplicate values from arrays.
Useful - now to remove duplicates from an array