3 ms·Yes, back when CoffeeScript was in vogue the ? operator handled this case nicely: cond? && otherValueby sgustard 9y agoYes, back when CoffeeScript was in vogue the ? operator handled this case nicely: cond? && otherValue