title: setTimeout(function() {doSth();}, 3) vs setTimeout(doSth, 3)?
body: <p>Of the above, which is preferable? Why would you use </p>
  
  <pre><code>setTimeout(function() { anotherFunction(); }, 3);
  </code></pre>
  
  <p>instead of </p>
  
  <pre><code>setTimeout(anotherFunction, 3);
  </code></pre>
  
  <p>?</p>
  
  <p>For example, <a href="https://jasmine.github.io/2.0/introduction.html#section-44" rel="nofollow noreferrer">the documentation for the testing tool jasmine</a> uses an anonymous inner function without parameters. But why? What are the advantages/disadvantages of the anonymous function style?</p>