title: Reduce Multiple Objects into One
body: <p>Let's say I have an array of objects:</p>
  
  <pre><code>[
      {
          category: 'Category A',
          max: 10,
          min: 12
      },
  
      {
          category: 'Category B',
          max: 2,
          min: 1
      },
  
      {
          category: 'Category C',
          max: 4,
          min: 4
      }
  ]
  </code></pre>
  
  <p>However, I can't seem to get an array that looks like this:</p>
  
  <pre><code>{
      category: 'Category ALL',
      max: 16,
      min: 17
  }
  </code></pre>
  
  <p>All my attempts to make through reduce did not work.</p>