Y
Hacker News
new
|
ask
|
show
|
jobs
by
melncat
271 days ago
Don't forget about ?? as well
2 comments
jbreckmckye
271 days ago
I'm a big fan of the Elvis operator myself (.?)
link
chuckadams
271 days ago
.? is null-safe property access. Elvis is ?:
link
jbreckmckye
271 days ago
Oh, that makes more sense, because ?: has eyes
https://en.m.wikipedia.org/wiki/Elvis_operator
?:-)
link
mock-possum
271 days ago
Mmm nullish coalescing
link