title: To remove duplicate among array of objects corresponding to the other key and value pair of object using javascript
body: <p>Have an array of objects with object having two key and value pairs.</p>
  
  <pre><code>[{fruit:"apple",locale:"US"},
  {fruit:"orange",locale:"US"},
  {fruit:"banana",locale:"US"},
  {fruit:"apple",locale:"US"},
  {fruit:"orange",locale:"IT"},
  {fruit:"apple",locale:"IT"},
  {fruit:"banana",locale:"IT"},
  {fruit:"orange",locale:"IT"}
  {fruit:"apple",locale:"IT"}]
  </code></pre>
  
  <p>How to achieve
  Fruit should not be duplicate within same locale,
  Fruit can be same with different locales.</p>