Logical nullish assignment with Destructuring assignment #13517
chanelnumberseven
started this conversation in
Ideas
Replies: 1 comment
-
No, that it not valid JS code and it not supported by any JS proposal. I tried looking for past discussion about it and I only found https://esdiscuss.org/topic/null-coalescing-default-values-in-destructuring, but it looks like no one actually proposed that syntax to tc39. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Can i write code as follows
It is more beautiful than
Beta Was this translation helpful? Give feedback.
All reactions