Open huczk opened 4 years ago
Hi, i have a question regarding destructing, will this new assignments work while destructing? this can be very handy for example 😄 :
const { a ??= "value" } = someVariable.
const { a ??= "value" } = someVariable
Current default assign while destructing only checks for undefined so nullish check can help a lot
undefined
I remember this was discussed before and could be a follow-on proposal.
Hi, i have a question regarding destructing, will this new assignments work while destructing? this can be very handy for example 😄 :
const { a ??= "value" } = someVariable
.Current default assign while destructing only checks for
undefined
so nullish check can help a lot