>
> function({d=1}){}
> function(o){ var d = o instanceof Object && o.d !== undefined ? o.d : 1 }
>

Not exactly - see my previous post.  You've supplied a default
destructuring value, but not a default *parameter* value.
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to