title: How to eliminate duplicates while looping through JSON array
body: <p>I will be getting this JSON as  response from server </p>
  
  <pre><code>var responsefromserver = 
      {
      "Restaurants": [
          {
              "RestrntArea": "Home"
          },
          {
              "RestrntArea": "Office"
  
          },
          {
              "RestrntArea": "Office"
  
          }
      ]
  };
  </code></pre>
  
  <p>Could you please let me know , how to  eliminate duplicates from the above while looping it in front end ??</p>
  
  <p>This is my jsfiddle</p>
  
  <p><a href="http://jsfiddle.net/BreMW/720/" rel="nofollow">http://jsfiddle.net/BreMW/720/</a></p>