title: Javascript function fails to create new Object
body: <p>Why would this code not work as expected? Is anything missing?</p>
  
  <pre><code>function User(name) {
      this.name = name;
  };
  
  var j = User('Jack');
  alert(j.name)
  </code></pre>