title: Javascript - removing object from array by key value
body: <p>I have an array of objects</p>
  
  <pre><code>let people = [{
  
    Name: 'Bob',
  
    Age: '45',
  },
  {
    Name: 'Jim',
  
    Age: '45',
  }
  
  ];
  
  let person = people.filter(person =&gt; person.Name=== 'Bob') 
  </code></pre>
  
  <p>This returns Bob but how do I delete him? </p>
  
  <p>This only seems to delete a property</p>
  
  <p><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/delete" rel="nofollow noreferrer">https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/delete</a></p>
  
  <p>so it seems I need an index or maybe there is a better ES6 way?</p>