- From: Tab Atkins Jr. <notifications@github.com>
- Date: Wed, 01 Mar 2017 17:28:55 -0800
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 2 March 2017 01:29:30 UTC
> Folks from TC39 have repeatedly asked us to stop designing APIs that require proxies. Tho, it looks like using `iterable<>` automatically opts you into needing proxies, because you're required to support indexed properties for it, and that gives you the `a[0]` support. Right? So there's no way to make anything even *remotely* Array-like without making a Proxy in WebIDL? > Is that true? Yeah, bz points out that it's not, as I recognized in the later part of my response. ^_^ > Anyway, I don't see how [LegacyArrayClass] helps with this. I mean, [LegacyArrayClass] is basically "subclassing Array". All "subclass" means is that the superclass's prototype is in the subclass's prototype chain. Am I drastically misunderstanding something here? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/heycam/webidl/issues/291#issuecomment-283527443
Received on Thursday, 2 March 2017 01:29:30 UTC