title: Reference Error newDate is not defined?
body: <p>I get the Error Message:"Uncaught ReferenceError: newDate is not defined" Why?</p>
  
  <pre><code>&lt;script&gt;
  var str = newDate('1992-05-02');
  alert(str);
  &lt;/script&gt;
  </code></pre>