New Set.prototype methods

Calvin Metcalf 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.
>
> https://github.com/Ginden/set-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
>
>
> TBA:
>
>    - 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
> https://mail.mozilla.org/listinfo/es-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20160529/7f6205d4/attachment-0001.html>


More information about the es-discuss mailing list