title: Adding the values from an object to an array of objects without overriding existing key values
body: <p>How do you go from this:</p>
  
  <pre><code>var array = [{key: [3]}, {key1: [3]}, {key1: [3]}]
  var object = {key1: [3], key2: [3]};
  </code></pre>
  
  <p>to this:</p>
  
  <pre><code>{key: [3], key1: [9], key2: [3]}
  </code></pre>
  
  <p>All "key" are a userIds like "LQVjUacPgK" as seen in the obj example below.</p>
  
  <p>[N] = is an array of N objects each of which has about 10 key value pairs within.</p>
  
  <pre><code>N = {obj, obj, obj};
  
  obj = {_account: "JDQEPxoy3ktZRP9VEzAMtXLa7rXXedhQ4bARq"
  _id: "oQER3vznDwikxm1wdLzJFdVjKL6XomcORMxDL"
  amount: 170
  category: Array[2]
  category_id: "21003000"
  date: "2015-06-09"Object
  type: Object
  userId: "LQVjUacPgK"}
  </code></pre>
  
  <p>Right now I'm doing this: </p>
  
  <pre><code>var test = _.reduce(_.flatten(array.concat([object])),function(a,b){
       return _.extend(a, b);
         });
      }
  };
  </code></pre>
  
  <p>and getting this result instead:</p>
  
  <pre><code>console.log(test)//{key: [3], key1: [3], key2: [3]}
  </code></pre>
  
  <p>To be clear, the issue is that key1 has different values between all of the objects.  I'd like to keep the values from both so that <strong>key1: [9]</strong>.</p>