title: IIFE, javascript, function undefined
body: <p>This is my IIFE function</p>
  
  <pre><code>var test = function(){
    console.log('fire');
  }();
  </code></pre>
  
  <p>It invokes at start. But how do I call this again?</p>
  
  <pre><code>var fireTestFn = function(){
     test();
  }
  
  fireTestFn(); // test() is not a function
  </code></pre>
  
  <p>JSbin <a href="https://jsbin.com/cesuzimogu/edit?js,console" rel="nofollow">https://jsbin.com/cesuzimogu/edit?js,console</a></p>