title: Storing array as a key pair in a json using javascript?
body: <p>There are three arrays , </p>
  
  <pre><code>var names = ["Increment","Decrement"]
  var values1 = [1,2,3,4,5,6] 
  var values2 = [7,8,9,10,11]
  </code></pre>
  
  <p>Now i would like to construct a json like </p>
  
  <pre><code>{"names":[
      {"Increment":"1,2,3,4,5,6"},
      {"Decrement":"7,8,9,10,11"}
  ]}
  </code></pre>