- From: Domenic Denicola <notifications@github.com>
- Date: Fri, 18 Dec 2020 09:31:37 -0800
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 18 December 2020 17:31:50 UTC
Although ObservableArrays are usable for the ReadonlyArray case, they are a bit awkward. I believe at the very least you need to specify "set the indexed value" and "delete the indexed value" as throwing exceptions. So IMO it'd be good to add a ReadonlyArray sugar which does that for you, plus any other steps which I'm missing in this morning's quick skim. (Also we could then restrict ReadonlyArrays to only work with `readonly` attributes.) -- 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/796#issuecomment-748220285
Received on Friday, 18 December 2020 17:31:50 UTC