title: Can you compare anonymous functions in javascript?
body: <p>I need to detect whether two anonymous functions are the same.</p>
  
  <p>In the console, why does the following line return <code>false</code>? </p>
  
  <p><code>(function() { alert("hello"); }) === (function() { alert("hello"); })</code></p>
  
  <p>Is there a comparison operator or other method to identify that these are 'functionally' the same?</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>People are asking for the use of this. </p>
  
  <p>It's for removing a function that has been previously pushed into an array of functions. See <a href="http://jsfiddle.net/w6s7J/" rel="nofollow">http://jsfiddle.net/w6s7J/</a> for a simplified test. </p>