Another thing that I was also thinking is that it might look a little nicer
if the ? was a post-fix instead of a pre-fix.

    let {first, last, company?} = contact;

I might be missing why this wouldn't work out, but it aesthetically just
looks right to me. It looks like the regex operator, and is also obviously
the position it would be in english.

- Russ
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to