- From: Kagami Sascha Rosylight <notifications@github.com>
- Date: Fri, 07 Aug 2020 05:51:29 -0700
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 7 August 2020 12:51:41 UTC
A late question: ``` void foo(boolean abc = false); // okay, `false` is a boolean void foo(float abc = 1.0); // okay, 1.0 is a float, sure. void foo(DOMString abc = undefined); // well, is `undefined` a DOMString? 🤔 ``` I'm also a bit worried that the implementation would be different while the syntax is similar: `DOMString bar = "str"` is always a string while `DOMString abc = undefined` is something like `Optional<DOMString>`. -- 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/905#issuecomment-670500663
Received on Friday, 7 August 2020 12:51:41 UTC