- From: Kagami Sascha Rosylight <notifications@github.com>
- Date: Fri, 07 Aug 2020 07:56:32 -0700
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 7 August 2020 14:56:45 UTC
> But we don't use the `optional` keyword for that---because it's redundant with the default value. Currently we do use `optional` keyword for every optional argument, and specifying a default value without `optional` is a syntax error. ``` ArgumentRest :: optional TypeWithExtendedAttributes ArgumentName Default Type Ellipsis ArgumentName ``` -- 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-670557944
Received on Friday, 7 August 2020 14:56:45 UTC