Y
Hacker News
new
|
ask
|
show
|
jobs
by
sgustard
3003 days ago
Yes, back when CoffeeScript was in vogue the ? operator handled this case nicely:
cond? && otherValue