Set length property
brendan at mozilla.org
Tue Feb 14 19:10:58 PST 2012
Brendan Eich wrote:
> Tab Atkins Jr. wrote:
>>> IME they're ducktyped by the presence of forEach (this is far from
>>> > Length has nothing to do with iterability. What about generators?
>> I don't want to go looking anything up right now, but I have lots of
>> memories of things looking for the presence of "length" to denote an
> Array-like != iterable.
But I should have written
Array-like <: Iterable
More information about the es-discuss