- From: Domenic Denicola <notifications@github.com>
- Date: Tue, 20 Sep 2016 02:55:38 -0700
- To: heycam/webidl <webidl@noreply.github.com>
Received on Tuesday, 20 September 2016 09:56:46 UTC
No, we want to make `foo({ target: null })` throw, and `foo({ target: undefined })` or `foo({ })` work. Thus we want to **discourage**
```webidl
dictionary Foo {
EventTarget? target = null;
};
```
in favor of
```webidl
dictionary Foo {
EventTarget target;
};
```
--
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/176#issuecomment-248256591
Received on Tuesday, 20 September 2016 09:56:46 UTC