undefined being treated as a missing optional argument

Brandon Benvie brandon at brandonbenvie.com
Fri Apr 13 11:43:09 PDT 2012

Making default values overridden by undefined makes them useless in a large
portion of cases, but not doing so makes arguments.length a liar and
invalidates other cases.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120413/ab5f24af/attachment.html>

More information about the es-discuss mailing list