Returns an immutable set of elements in first-seen order, as new Set builds it: equal
elements are kept once (SameValueZero, so -0 is stored as 0 and NaN is one member), and
null and undefined are stored. Every method that would change the set, its cursors or
views throws UnsupportedOperationError.
Returns an immutable set of
elementsin first-seen order, asnew Setbuilds it: equal elements are kept once (SameValueZero, so-0is stored as0andNaNis one member), andnullandundefinedare stored. Every method that would change the set, its cursors or views throwsUnsupportedOperationError.Time: O(n) average for
nelements.