- From: Tab Atkins Jr. <notifications@github.com>
- Date: Mon, 15 Mar 2021 08:54:21 -0700
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 15 March 2021 15:54:34 UTC
> one thing bz mentions there that null always means empty dictionary, but I'm not sure if that's applicable to a dictionary in a union as well. It is. Note step 3 in <https://heycam.github.io/webidl/#es-union>, where if the JS value is `null` or `undefined`, and the union contains a dictionary type, the JS value gets converted into the dictionary type. -- 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/967#issuecomment-799531477
Received on Monday, 15 March 2021 15:54:34 UTC