title: how do I compare 2 functions in javascript
body: <p>How do I compare 2 functions in javascript?
  I am not talking about internal reference. Say </p>
  
  <pre><code>var a = function(){return 1;};
  var b = function(){return 1;};
  </code></pre>
  
  <p>Is it possible to compare <code>a</code> and <code>b</code> ?</p>