title: Filter array of objects by object key
body: <p>I have an array of objects in Javascript:</p>
  <pre><code>var List = [
              {
                  employee:'Joe',
                  type:'holiday',
              },
              {
                  employee:'Jerry',
                  type:'seminar',
  
              },
              {
                  employee:'Joe',
                  type:'shore leave',
              }
             ];
  </code></pre>
  <p>I would like to obtain two new arrays of objects; one for the key employee &quot;Joe&quot; and the other for the key employee &quot;Jerry&quot;. The objects should keep the same pairs of key/values.</p>
  <p>I have been trying to get a solution using underscore.js, but it is getting too complicated. Any ideas on how this can be achieved?</p>