tc39 / proposal-nullish-coalescing

Nullish coalescing proposal x ?? y
https://tc39.github.io/proposal-nullish-coalescing/
1.23k stars 23 forks source link

Why use "??" #63

Closed roman-kirsanov closed 4 years ago

roman-kirsanov commented 4 years ago

Hi,

Why use "??"?

I think the better idea is using "|||" (or "&&&") like strict comparison "=="/"!=" and "==="/"!==", same concept.

I think "??" looks ugly and misleading.

lazarljubenovic commented 4 years ago

Duplicate of #17. And of your own issue #62.