title: remove item from array using its name / value
body: <p>I have the following array   </p>
  
  <pre><code>var countries = {};
  
  countries.results = [
      {id:'AF',name:'Afghanistan'},
      {id:'AL',name:'Albania'},
      {id:'DZ',name:'Algeria'}
  ];
  </code></pre>
  
  <p>How can I remove an item from this array using its name or id ?</p>
  
  <p>Thank you</p>