title: Javascript dynamic hash creation
body: <p>here is my working function. How to create dataObject dynamically? (let's assume that I know how many columns I have)
  I tried dynamically create variables 'value+i' with eval function, but with no success. </p>
  
  <pre><code>    function parseCSV(rows){
          dataProvider = [];
          for (var i = 0; i &lt; rows.length; i++){
              if (rows[i]) {                   
                  var column = rows[i].split(","); 
                  var date = someFunction(column[0]);
                  var value1 = column[1];
                  var value2 = column[2];
                  var dataObject = {date:date, value1:value1, value2:value2};
                  dataProvider.push(dataObject);
              }
          }
      }
  </code></pre>
  
  <p>thank U</p>