How to return couple values in iced coffee script
using return
and autocb
?
Without autocb
I can do:
func = (cb)=>
cb returnVal1, returnVal2
How to implement this using autocb
? This code ...
func = (autocb)=>
return returnVal1, returnVal2
... throws error:
SyntaxError: unexpected ,