Array iterator questions

Brendan Eich brendan at mozilla.org
Sun Dec 2 18:40:51 PST 2012


Rick's notes cover it, but yes, the resolution is:

1. Array.from tests @iterator falls back on array-like (for 
polyfillability).

2. Spread uses iteration protocol (tests @iterator) only.

3. All for-of forms match (2) and use iteration protocol only.

/be

Brandon Benvie wrote:
> This discussion brings iterator protocol back into play for spread no?
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss


More information about the es-discuss mailing list