UNPKG

js2coffee

Version:

JavaScript to CoffeeScript compiler

10 lines (9 loc) 147 B
# this pattern was observed in EventEmitter2. ---- var a = x ? y : function () { return a === "b"; }; ---- a = if x then y else (-> a == 'b' )