Re: [whatwg/webidl] Support syntax for specifying that an optional record<K, V> has a default value of an empty record<K, V> (Issue #1566)

domfarolino left a comment (whatwg/webidl#1566)

> Make either `= []` or `= {}` valid for `record<K, V>`.

We're interpreting this as we should pick one (mutually exclusive), and not add both. We're adding support for `= {}` as opposed to `= []`, since the latter doesn't seem to make as much sense. Hopefully we're interpreting this right.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/webidl/issues/1566#issuecomment-3843951990
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/webidl/issues/1566/3843951990@github.com>

Received on Tuesday, 3 February 2026 22:13:37 UTC