New Set.prototype methods

Michał Wadas michalwadas at
Sun May 29 13:13:36 UTC 2016

I have written proposal for new Set.prototype methods.

New methods would be:

   - Set.prototype.filter
   - Set.prototype.some
   - Set.prototype.every
   - Set.prototype.find
   - Set.prototype.union
   - Set.prototype.intersect
   - Set.isSet


   - Set.prototype.difference (or .except)

%SetIteratorPrototype% is discussed in text.

BTW, is there any way to subclass SetIterator or check if object is
SetIterator? If not it seems like issue for subclassing Set.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list