- From: Brendan Eich <brendan@meer.net>
- Date: Fri, 5 Aug 2011 18:27:20 -0700
- To: Jonas Sicking <jonas@sicking.cc>
- Cc: Brendan Eich <brendan@mozilla.org>, Boris Zbarsky <bzbarsky@mit.edu>, "public-script-coord@w3.org" <public-script-coord@w3.org>
On Aug 4, 2011, at 4:40 PM, Jonas Sicking <jonas@sicking.cc> wrote: > The question comes down to this: Is it more "javascripty" to look at >>>> >>> >> >> >> > the actual argument count (in JS terms, check arguments.length), or is > it more "javascripty" to look at which arguments have the value > <undefined>. It depends. It is *not* "JavaScripty" to pass "undefined" (the string) to a function expecting a string actual that has optional parameters including the one for which no actual undefined was passed but a default value of undefined was passed. /be >
Received on Saturday, 6 August 2011 01:27:48 UTC