title: Shorthand for empty function in Node.js
body: <p>In JS, there is shorthand for an empty object which is <code>{}</code>. Is there shorthand for an empty <code>function</code> in JS?</p>
  
  <p>The reason being, as functions are first-class objects, we use them as arguments more often, but passing in an empty function is at best ugly.</p>
  
  <pre><code>var foo = baz(function(){});
  </code></pre>
  
  <p>In order to declare a function, at somepoint we have to declare <code>function(){}</code>. </p>
  
  <p>I would like more Node.js APIs to require a (callback) function to be passed, so the API doesn't deceivingly look synchronous. Perhaps one step in that direction would be to create shorthand for empty placeholder functions.</p>