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

Thanks for the clarifications. I've tried my best tonight to try to understand what an "indexed property getter" is, but still can't find a plain english explanation anywhere.

Does that mean that the object has properties that are numbers? E.g.

```js
const x = { 0: 'a', 1: 'b', 2: 'c' };
```

Is it the same if you did:

```js
const x = { '0': 'a', '1': 'b', '2': 'c' };
```

It would be a big help for people learning about this if the MDN article for `FileList` showed examples of iteration using spread and `for…of`:

https://developer.mozilla.org/en-US/docs/Web/API/FileList


There is no mention anywhere of `FileList` being iterable and it only shows an old-school `for` loop.

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

Received on Thursday, 10 June 2021 16:06:48 UTC