title: Remove Sub Array Item in Javascript
body: <p>How would I remove the whole sub array item from the following array where <code>id  = 2</code> in JavaScript/jQuery?</p>
  
  <pre><code>arr = [{
      "id": 1,
      "name": "Steve"
  },{
      "id": 2,
      "name": "Martin"
  },{
      "id": 3,
      "name": "Short"
  }]
  </code></pre>
  
  <p>I am not sure how to use <code>grep</code> or <code>splice</code> in this situation.</p>
  
  <p>My desired output would be:</p>
  
  <pre><code>newArr = [{
      "id": 1,
      "name": "Steve"
  },{
      "id": 3,
      "name": "Short"
  }]
  </code></pre>