title: Checking for duplicate values in a list of objects against another list of objects
body: <p>I've got two lists as following:</p>
  
  <pre><code>listOne = [
      {phone: "123", name: "Joey"},
      {phone: "456", name: "Erik"},
      {phone: "789", name: "Teddy"},
  ]
  </code></pre>
  
  <p>and</p>
  
  <pre><code>listTwo = [
      {phone: "123", name: "Joey", accoundId: "ID_001"},
      {phone: "456", name: "Erik", accoundId: "ID_006"},
      {phone: "5553", name: "Sebastian", accoundId: "ID_010"},
  ]
  </code></pre>
  
  <p>How would I compare these two lists, and for each duplicate (exact matches for <code>phone</code> and <code>name</code>), if a duplicate exists, put the values in <code>listThree</code> with the <code>accountId</code> found in <code>listTwo</code></p>
  
  <p>As such:</p>
  
  <pre><code>listThree = [
      {phone: "123", name: "Joey", accountId: "ID_001"},
      {phone: "456", name: "Erik", accountId: "ID_006"},
  ]
  </code></pre>
  
  <p>JavaScript, Python or Apex solutions are highly appreciated</p>