- From: Martin Thomson <martin.thomson@gmail.com>
- Date: Wed, 26 Feb 2014 15:31:44 -0800
- To: Peter Thatcher <pthatcher@google.com>
- Cc: Bernard Aboba <Bernard.Aboba@microsoft.com>, "public-orca@w3.org" <public-orca@w3.org>
On 26 February 2014 15:02, Peter Thatcher <pthatcher@google.com> wrote: > Or at least that's what Martin told me when I was putting "?" on everything > :). Unless of course you want to learn about the difference between null and no value (i.e., undefined), that is. There are three options: I prefer: dictionary Foo { DOMString optional; } Change omission to mean null (as opposed to undefined), which is OK: dictionary Foo { DOMString? optional = null; } The worst option: dictionary Foo { DOMString? optional; }
Received on Wednesday, 26 February 2014 23:32:11 UTC