- From: Timothy Gu <notifications@github.com>
- Date: Fri, 22 Sep 2017 06:03:17 +0000 (UTC)
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 22 September 2017 06:04:09 UTC
I'm guessing because we need a way to express null.
```webidl
interface MyConstants {
const whatShouldIPutHere NULL_VALUE = null;
};
```
If the constant value is actually a boolean, then I don't see any reason why a nullable type is used.
But if no IDL fragments in the web platform actually have null-valued constants, then I guess we can remove it.
--
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/446#issuecomment-331358172
Received on Friday, 22 September 2017 06:04:09 UTC