title: Get only common objects from a list of arrays in javascript
body: <p>i have a couple arrays in my javascript code (i'm using knockout js too) and i want to get a single array that contains only the common objects of all the arrays.</p>
  
  <p>My code is something like this:</p>
  
  <pre><code>Array1 = [{a: 1, b: 'something'}, {a: 2, b: 'something1'},{a: 3, b: 'something3'}];
  
  Array2 = [{a: 3, b: 'something3'}, {a: 1, b: 'something'}, {a: 4, b: 'something4'}]
  
  Array2 = [{a: 3, b: 'something3'}, {a: 1, b: 'something'}, {a: 5, b: 'something5'}]
  </code></pre>
  
  <p>So, from this arrays i want the common of all into one single array, so the result would be like this:</p>
  
  <pre><code>Array4 = [{a: 1, b: 'something'}, {a: 3, b: 'something3'}]
  </code></pre>
  
  <p>I have to mention that the Array1, Array2 and Array3 are inside another array like this:</p>
  
  <pre><code>Array0 = [Array1, Array2, Array3];
  </code></pre>
  
  <p>I hope you can help me with this, thank you!</p>