Array iterator questions

Brendan Eich brendan at
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 

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

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


Brandon Benvie wrote:
> This discussion brings iterator protocol back into play for spread no?
> _______________________________________________
> es-discuss mailing list
> es-discuss at

More information about the es-discuss mailing list