title: Add values of n number of arrays
body: <p>I have an array of arrays containing values, it looks something like this</p>
  
  <pre><code>var values = [[23,45,12,67],[26,35,65,23],[45,73,12,54],[32,45,65,86]];
  </code></pre>
  
  <p>I want to add all the arrays present inside <code>values</code> variable such like </p>
  
  <pre><code>sum = [126,198,154,230]
  </code></pre>
  
  <p>126 = 23+26+45+32</p>
  
  <p>198 = 45+35+73+45</p>
  
  <p>I tried this using <code>Array.prototype.map()</code> but maybe I am not getting the perfect logic to do that so needed help here. How to add the values of n arrays.</p>