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

The [Web IDL spec](https://heycam.github.io/webidl/#es-iterable) implicitly makes FileList iterable, since it has an indexed property getter. `FileList.prototype[Symbol.iterator]` is thus defined on all browsers and that makes `for-of`/`...` work.

`iterable<>` in NodeList just adds more functions like `forEach()`.

-- 
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-858723943

Received on Thursday, 10 June 2021 15:38:22 UTC