title: Printing definition of anonymous functions using toString
body: <p>I was wondering can we print the definition of anonymous function similarly we do with named functions.</p>
  
  <pre><code>function test() { console.log("in test function."); }
  test.toString();
  
  //Output
  //"function test() { console.log("in test function."); }"
  
  //Example : 
  function() { 
   /*Code to print definition of the this function.*/
   console.log("in test function.") 
  }
  </code></pre>