title: Why coffeescript use « return » statement everywhere?
body: <p>When writing something like that:</p>
  
  <pre><code>$(document).ready -&gt;
    doSomething()
  
  doSomething = -&gt;
    alert('Nothing to do')
  </code></pre>
  
  <p>is compiled into</p>
  
  <pre><code>$(document).ready(function() {
    return doSomething();
  });
  
  doSomething = function() {
    return alert('Nothing to do');
  };
  </code></pre>
  
  <p>In my understand, the return statement is for values (string, array, integer...)</p>
  
  <p>Why coffeescript do that ?</p>