Passing undefined is something you don't have to do, for obvious
reasons.

On 23 out, 08:00, Peter van der Zee <[email protected]> wrote:
> On Sun, Oct 23, 2011 at 11:46 AM, Jake Verbaten <[email protected]> wrote:
> > Your f(undefined) examples should return true.
>
> Nope. He asked for a default value. What if he wants to pass on
> "undefined" as the value for the parameter. It may be undefined, but
> it's still a value. The only way to distinct between an actual passed
> on "undefined" value and the default "undefined" value is through the
> arguments object.
>
> - peter

-- 
To view archived discussions from the original JSMentors Mailman list: 
http://www.mail-archive.com/[email protected]/

To search via a non-Google archive, visit here: 
http://www.mail-archive.com/[email protected]/

To unsubscribe from this group, send email to
[email protected]

Reply via email to