W3C home > Mailing lists > Public > public-script-coord@w3.org > April to June 2013

Re: Reconciling handling of optional arguments and handling of default values across ES and webidl

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 08 May 2013 20:46:05 -0400
Message-ID: <518AF1CD.3020008@mit.edu>
To: Garrett Smith <dhtmlkitchen@gmail.com>
CC: Allen Wirfs-Brock <allen@wirfs-brock.com>, "public-script-coord@w3.org" <public-script-coord@w3.org>
On 5/8/13 7:56 PM, Garrett Smith wrote:
> What was proposed seems backwards. Instead of treating 'undefined' as
> missing parameter, shouldn't "missing parameter" be treated as
> undefined?

That restricts the concept of "missing parameters" to trailing 
arguments, which we all agree is not desirable.

-Boris
Received on Thursday, 9 May 2013 00:46:34 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:37:49 UTC