title: How to combine object key/value into single array?
body: <p>I have a javascript object with several keys whose values are arrays of objects. I am trying to combine all key/values into a single array of objects. So from </p>
  
  <pre><code>{
      a: [{}, {}, {}],
      b: [{}, {}, {}],
      c: [{}, {}, {}]
  }
  </code></pre>
  
  <p>To </p>
  
  <pre><code>[{}, {}, {}, {}, {}, ...]
  </code></pre>
  
  <p>I am trying something like </p>
  
  <pre><code>Object.keys(myObject).map(key =&gt; myObject[key])
  </code></pre>
  
  <p>Which results in an array with 3 arrays inside. </p>
  
  <p>I have also tried using using lodash and doing </p>
  
  <pre><code>Object.keys(myObject).map(key =&gt; _.values(myObject[key]))
  </code></pre>
  
  <p>Which seems to result in the same thing. How can I properly do this? Preferably in a single line like I am attempting instead of a loop. Sorry if this is asked already, I don't know how to word the question to find a result</p>