Re: [w3c/FileAPI] Make the FileList interface iterable (#94)

Ok, thank you; I think I get it now.

I thought "indexed property getter" meant something about the object itself, as if you could make a custom object that has an "indexed property getter". But actually, it means a spec basically notes that that a particular getter method on a particular standard web platform object is the way to access the index properties, and therefore that object is implicitly iterable. In the case of `FileList`, the [`FileList` instance method `item`](https://w3c.github.io/FileAPI/#dfn-item) is specially identified in the spec as the indexed property getter that makes `FileList` implicitly iterable.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/FileAPI/issues/94#issuecomment-858760942

Received on Thursday, 10 June 2021 16:21:58 UTC