title: Splitting date in Javascript
body: <pre><code>var date = "1st December,2016"
  </code></pre>
  
  <p>How can I split this string to get date,month and year?
  I am doing <code>date.split(" ",1)</code> then I am getting output as "1st". Now how to get December and 2016?</p>