title: How to create jquery array with key values
body: <p>Is there a way we can create an array in JQuery with key and values?
  I want to loop through the <code>TFNDailySummaryReportData</code> array and assign its DateWiseSalesData's Name property to key and DateWiseSalesData as value. </p>
  
  <pre><code>for (var i = 0; i &lt; TFNDailySummaryReportData.length; i++) 
  {
      var keyValueArray = {
           Key: TFNDailySummaryReportData[i].DateWiseSalesData.Name;
           value: TFNDailySummaryReportData[i].DateWiseSalesData
       }
  }
  </code></pre>
  
  <p>Is it possible to achieve something like this? If yes, how?</p>