- From: Boris Zbarsky <bzbarsky@MIT.EDU>
- Date: Wed, 08 May 2013 18:52:20 -0400
- To: www-dom@w3.org
On 5/8/13 6:39 PM, Cameron McCormack wrote: > Yes. You should be able to write > > Future catch(optional AnyCallback rejectCallback); > > and have that cause > > new Future().catch(undefined) > > to mean the same as > > new Future().catch() > > while > > new Future().catch(null) You can already do that in WebIDL: Future catch([TreatUndefinedAs=Missing] optional AnyCallback rejectCallback); no? -Boris
Received on Wednesday, 8 May 2013 22:52:48 UTC