Feature proposal

Nicolas B. Pierron nicolas.b.pierron at mozilla.com
Thu Jul 19 15:38:37 UTC 2018


On Thu, Jul 19, 2018 at 12:53 PM, Nicolas B. Pierron
<nicolas.b.pierron at mozilla.com> wrote:
>> On Wed, Jul 18, 2018 at 2:06 PM Nicolas B. Pierron
>> <nicolas.b.pierron at mozilla.com> wrote:
>>> Stupid question, but why are some of these methods implemented on
>>> String, Array, TypedArray, Map and Set, while all of them are
>>> Iteratable?
>>
> Among list of nice Iteratable property that one might add, and which
> might not be part of the standard are things like:
>   chain, take, skip, takeWhile, skipWhile, repeat, zip, enumerate,
> range, stepBy, …

Apparently this already exists as a JS library:
https://fitzgen.github.io/wu.js/

-- 
Nicolas B. Pierron


More information about the es-discuss mailing list