title: Convert array of array in CSV file using JavaScript
body: <p>I have an array with two objects, lets say:</p>
  <pre><code>one=[{ &quot;apple&quot;:1, &quot;ball&quot;:2},{&quot;apple&quot;:2,&quot;ball&quot;:5}]
  </code></pre>
  <p>and I have another object:</p>
  <pre><code>two=[{&quot;cat&quot;:2}];
  </code></pre>
  <p>I'm expecting:</p>
  <pre><code>two=[{&quot;apple&quot;:&quot;1,2&quot;, &quot;ball&quot;:&quot;2,5&quot;, &quot;cat&quot;:2}]
  </code></pre>
  <p>How can I do this?</p>
  <p>Thanks in advance.</p>