Javascript data structure SET

The Set object lets you store unique values of any type, whether primitive values or object references. Set objects are collections of values, you can iterate its elements in insertion order. A value in the Set may only occur once; it is unique in the Set’s collection.