New Set.prototype methods
calvin.metcalf at gmail.com
Sun May 29 20:54:10 UTC 2016
I've done some work on this (https://github.com/calvinmetcalf/set.up),
symmetrical difference, compliment and xor would also be helpful
On Sun, May 29, 2016, 9:13 AM Michał Wadas <michalwadas at gmail.com> wrote:
> I have written proposal for new Set.prototype methods.
> New methods would be:
> - Set.prototype.filter
> - Set.prototype.map
> - 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.
> es-discuss mailing list
> es-discuss at mozilla.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss