JavaScript Rendering
<p>Why doesn't this HTML/script (from "Secrets of the JavaScript Ninja") render?</p>

<p><a href="http://jsfiddle.net/BCL54/" rel="nofollow">http://jsfiddle.net/BCL54/</a></p>

<pre><code>&lt;html&gt;
    &lt;head&gt;
        &lt;script&gt;
            function outer(){

  var a = 1;

  function inner(){ /* does nothing */ }

  var b = 2;

  if (a == 1) {
    var c = 3;
  }

}

outer();

assert(true,"some descriptive text");
assert(typeof outer==='function',
      "outer() is in scope");
assert(typeof inner==='function',
      "inner() is in scope");
assert(typeof a==='number',
      "a is in scope");
assert(typeof b==='number',
      "b is in scope");
assert(typeof c==='number',
      "c is in scope");
        &lt;/script&gt;
    &lt;/head&gt;
    &lt;body&gt;        
    &lt;/body&gt;
&lt;/html&gt;
</code></pre>
