[heycam/webidl] Do indexed getters ever return null? (#532)

That'd be interesting to know for https://github.com/whatwg/dom/issues/284. At least whenever I use indexed getters for some legacy object I'm pretty sure that the properties always correspond to an object and not null. It's only the `item()` method that can return null.

(If it turns out that they cannot return null, we should allow the types of iterables and indexed getters to slightly differ. Or perhaps say that the type of the indexed getter is the same as the method declaration it might share, minus nullability.)

-- 
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/532

Received on Tuesday, 13 March 2018 10:47:05 UTC