title: Javascript inheritance not working
body: <p>I have this code:</p>
  
  <pre><code>function a() { this.j = "aa"; }
  var b = { o:2 };
  b.prototype = new a();
  alert(b.j); //alert "undefined"
  </code></pre>
  
  <p>Why do I get undefined?</p>