title: Split function going Abnormal in JavaScript
body: <p>This is the Contents of file from where i am reading... </p>
  
  <pre><code>aaa 3333,bbb 5,ccc 10
  </code></pre>
  
  <p>I am getting un defined for the keyvalue[2], [3], [4] and [5]. Why is it so??? </p>
  
  <p>I am actually first spliting based on , and then based on space.</p>