Operators ||= and &&=

Mark S. Miller erights at google.com
Tue May 5 12:06:24 PDT 2009


On Tue, May 5, 2009 at 11:37 AM, Peter Michaux <petermichaux at gmail.com> wrote:
>  function(a=1, b="defaultVal");
>
> And in this syntax will default values be used if the parameter is
> falsey or only if it is undefined?

Or only if it is absent?


-- 
    Cheers,
    --MarkM


More information about the es-discuss mailing list