It seems like CoffeeScript automatically returns the last item in a scope. Can I avoid this functionality?
It seems functions in CoffeeScript must always return something, even null. In C, you have void as a return type. ->, the empty function, compiles to (function() {}), so it's the only function that doesn't return anything.
null
void
->
(function() {})