title: sum array from map result dynamically using javascript
body: <p>I am getting the array from multidimensional array using map. Below is my code</p>
  
  <pre><code> var data = [{"name":"ramu","id":"719","gmail":"ramu@gmail.com","ph":988989898,"points":36},
          {"name":"ravi","id":"445","gmail":"ravi@gmail.com","ph":4554545454,"points":122},
          {"name":"karthik","id":"866","gmail":"karthik@gmail.com","ph":2332233232,"points":25}]          
  var result = data.map(function(arr, count) { 
    return arr.points;
  });
  </code></pre>
  
  <p>Output is [36, 122, 25].
  But i need the sum as 183? </p>