title: Calling anonymous function in HTML
body: <p>I have a question on pulling anonymous functions to an HTML.
  This is my HTML line of code:</p>
  
  <pre><code>onclick="functionToPull('map')"
  </code></pre>
  
  <p>functionToPull would be the name of the function if it was not anonymous.
  How do I pull an anonymous javascript function?</p>
  
  <p>Example: </p>
  
  <pre><code>(function (){
  
  })();
  </code></pre>