title: javascript remove multiple values of array of objects
body: <p>I am new to javascript and I am trying to remove multiple values from an array of objects.</p>
  
  <p>Right now I can remove one object like this</p>
  
  <pre><code>if(obj.findObjectByKey(response, 'cat_id', 171) == true) {
      var catId = response.map(item =&gt; item.cat_id).indexOf(171);
  }
  </code></pre>
  
  <p>In the code above I will remove the item with a id of "171" but now I have an array with multiple values that I would like to remove.</p>
  
  <p>So how can I modify the code above to let me pass in an array of items that I want to remove from the list eg <code>['171', '172', '173, '174'];</code></p>