Array subclassing, .map and iterables (Re: Jan 30 TC39 Meeting Notes)

Brendan Eich brendan at mozilla.com
Thu Feb 14 16:59:45 PST 2013


Andreas Rossberg wrote:
> I'd say that either we properly clean up the Array hierarchy, or we
> leave it alone. A half-baked solution that only applies to typed
> arrays, and divorces them from the Array hierarchy, seems less
> attractive than just doing the naive thing, i.e., TypedArray<  Array.

Agree with that, and I'll go further: we should leave alone what's 
already shipped and in use for a long time.

TypedArray < Array sounds good to me.

/be


More information about the es-discuss mailing list