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
This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:30:04 UTC