title: Search inside array of objects
body: <p>I have an array, which is formatted as such:</p>
  
  <pre><code>var clients = [{
      "id": 1, 
      "hash": 5c5fbbb047984ca8eec6dc7a3d994c09, 
      "more": {...}
    }, 
    {
      "id": 2,
      "hash": 620628ce37817a94476d55e55a543bee,
      "more": {...}
    }, 
    {...}, 
    {...}];
  </code></pre>
  
  <p>It contains around 25 objects, but this can change. My program gets an ID, which is an integer, and what it has to do it look in the clients array, and find the object with the specified ID, and then remove that object from the array.</p>
  
  <p>What is the best, most efficient way to do this, given that there could be a relativly large number of objects?</p>