Why does Array.from accept non-iterable arraylikes?

Sam Tobin-Hochstadt samth at ccs.neu.edu
Tue Jun 25 08:42:07 PDT 2013

On Tue, Jun 25, 2013 at 11:30 AM, Jason Orendorff
<jason.orendorff at gmail.com> wrote:
> I think TC39 made @@iterator a symbol on the theory that users would
> want to build iterable Proxy-based string-key maps that would support
> property-access syntax.

My recollection is that we chose to make `iterator` a symbol because
we worried about taking the name "iterator" on lots of existing


More information about the es-discuss mailing list