title: Parse String dd-MMM-yyyy to Date Object JavaScript without Libraries
body: <p>For Example:</p>
  
  <pre><code>var dateStr = "21-May-2014";
  </code></pre>
  
  <p>I want the above to be into a valid Date Object.</p>
  
  <p>Like, <code>var strConvt = new Date(dateStr);</code></p>