[heycam/webidl] Why is a constant type nullable? (#446)

https://heycam.github.io/webidl/#prod-ConstType

```
ConstType ::
    PrimitiveType Null
    identifier Null
```

https://heycam.github.io/webidl/#idl-nullable-type

```webidl
interface MyConstants {
  const boolean? ARE_WE_THERE_YET = false;
};
```

I couldn't find a real world example that uses nullable constant types. Why is it nullable? How is `const boolean?` different from `const boolean`?


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

Received on Friday, 22 September 2017 05:52:35 UTC