title: Removing object properties with Lodash
body: <p>I have to remove unwanted object properties that do not match my model. How can I achieve it with Lodash?</p>
  <p>My model is:</p>
  <pre><code>var model = {
     fname: null,
     lname: null
  }
  </code></pre>
  <p>My controller output before sending to the server will be:</p>
  <pre><code>var credentials = {
      fname: &quot;xyz&quot;,
      lname: &quot;abc&quot;,
      age: 23
  }
  </code></pre>
  <p>I am aware I can use</p>
  <pre><code>delete credentials.age
  </code></pre>
  <p>but what if I have lots of unwanted properties? Can I achieve it with Lodash?</p>