title: Calling toString on a javascript function returns source code
body: <p>I just found out that when you call toString() on a javascript function, as in <code>myFunction.toString()</code>, the source code of that function is returned.</p>
  
  <p>If you try it in the Firebug or Chrome console it will even go as far as formatting it nicely for you, even for minimized javascript files.<br>
  I don't know what is does for obfuscated files.</p>
  
  <p>What's the use of such a toString implementation?</p>