Re: [heycam/webidl] A new approach to array-ish classes (#796)

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