title: Delete duplicate elements from Array in Javascript
body: <p>I have array with obejcts email and Id so I want delete duplicate elements who have similar ID's.</p>
  
  <p>Example:</p>
  
  <pre><code>var newarray=[
      {
          Email:"test1@gmail.com",
          ID:"A"
      },
      {
          Email:"test2@gmail.com",
          ID:"B"
      },
      {
          Email:"test3@gmail.com",
          ID:"A"
      },
      {
          Email:"test4@gmail.com",
          ID:"C"
      },
      {
          Email:"test4@gmail.com",
          ID:"C"
      }
  ];
  </code></pre>
  
  <p>Now I need to delete Duplicate elements which have ID's are common.In the sence I am expecting final Array is</p>
  
  <pre><code>var FinalArray=[
      {
          Email:"test1@gmail.com",
          ID:"A"
      },
      {
          Email:"test2@gmail.com",
          ID:"B"
      },  
      {
          Email:"test5@gmail.com",
          ID:"C"
      }
  ];
  </code></pre>