Re: [heycam/webidl] iterable's should have more than just forEach() (#561)

@annevk thanks for clarifying the intent. 

I agree with @domenic that an `iterable` is not an Array. I'm also sympathetic that we can't get `NodeList` to extend Array, as it will probably break the web. 

What is clear is that [developers want an array-like](https://github.com/search?q=Array.from+querySelectorAll&type=Code) - so maybe @bzbarsky's whack-a-mole solution (https://github.com/heycam/webidl/issues/561#issuecomment-392798748) could work with maybe a `[ArrayMethods]` or some kind of mixin that has `map()`, `filter()`, `reduce()` etc.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/issues/561#issuecomment-393378059

Received on Thursday, 31 May 2018 02:05:35 UTC