title: How can I implement the lodash _.remove function in modern browsers?
body: <p>I have this code using lodash:</p>
  
  <pre><code>    _.remove(this.home.modal.data.subTopics, function (currentObject) {
          return currentObject.subTopicId === subTopicToDelete;
      });
  </code></pre>
  
  <p>Can someone give me advice as to how I could do the same using modern browser functions without lodash?</p>
  
  <p>Note it would be okay for the output of the remove to go into another variable.</p>