4 ms·
Since ?= looks so familiar, any chance of an elvis or defined-or operator in coffeescript? if a? then a else 0 becomes either a ?: 0 (if you like gr
by axiak 14y ago
Since ?= looks so familiar, any chance of an elvis or defined-or operator in coffeescript?
if a? then a else 0
becomes either
a ?: 0 (if you like groovy)
or
a // 0 (if you like perl)