- From: Kagami Sascha Rosylight <notifications@github.com>
- Date: Thu, 10 Jun 2021 08:33:00 -0700
- To: w3c/FileAPI <FileAPI@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 10 June 2021 15:38:22 UTC
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