title: Joins in Javascript
body: <p>I have 2 lists of objects:</p>
  
  <pre><code>people = 
  [{id: 1, name: "Tom", carid: 1},
   {id: 2, name: "Bob", carid: 1},
   {id: 3, name: "Sir Benjamin Rogan-Josh IV", carid: 2}];
  
  cars=
  [{id: 1, name: "Ford Fiesta", color: "blue"},
   {id: 2, name: "Ferrari", color: "red"},
   {id: 3, name: "Rover 25", color: "Sunset Melting Yellow with hints of yellow"}];
  </code></pre>
  
  <p>Is there a function (possibly in Angular, JQuery, Underscore, LoDash, or other external library) to do a left join in one line on these? Something like:</p>
  
  <pre><code>peoplewithcars = leftjoin( people, cars, "carid", "id");
  </code></pre>
  
  <p>I can write my own, but if LoDash has an optimised version I'd like to use that.</p>