title: How to call JavaScript function from html
body: <p>How we can call <code>start()</code> JavaScript function for this case from HTML:</p>
  <pre><code>(function() {
    var never, start;
    
    never = function() {
     return alert(&quot;try&quot;);
   }; 
  
    start = function() {
     return alert(&quot;try harder&quot;);
   };
  
  
  }).call(this);
  </code></pre>
  <p>My HTML</p>
  <pre><code>&lt;input type=&quot;button&quot; value=&quot;press&quot; onclick=&quot;never()&quot; &gt;&lt;/input&gt;
  </code></pre>