Hacker News new | ask | show | jobs
by melncat 271 days ago
Don't forget about ?? as well
2 comments

I'm a big fan of the Elvis operator myself (.?)
.? is null-safe property access. Elvis is ?:
Oh, that makes more sense, because ?: has eyes

https://en.m.wikipedia.org/wiki/Elvis_operator

?:-)

Mmm nullish coalescing