title: Conversion of string array to number array in javascript
body: <p>I have the following string</p>
  
  <pre><code>salesdata=[[0],[0],[0.767],[1.366],[2.003],[15.128],[32.766],[57.225],[0],[0],[0],[0]];
  </code></pre>
  
  <p>I want to convert it to an integer array with the same format of brackets to pass as highcharts input. I tried this</p>
  
  <pre><code>var data=salesdata.split(",");
  </code></pre>