title: sample HTML to test javascript codes
body: <p>I have just started learning Javascript and Ok here is a code I want to try and see it in the browser, so I create a test.js file and put this in it:</p>
  
  <pre><code>function useless(callback) {
      return callback
  }
  
  var text = 'Amigo';
  
  assert(
      useless(function(){ return text; }) === text,
      "The useless function works! " + text);
  </code></pre>
  
  <p>But still there is more, I should write a minimum HTML page than can call this function, What is sample HTML to host this method in it? </p>
  
  <p>I have written something like this but still there is something wrong with it:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
      &lt;title&gt;&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
  
  &lt;script src="hehe.js" &gt;
      useless('Amigo');
      window.onload=useless('Amigo')
  &lt;/script&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>