How do you chain functions using lodash?
<p>I have an object that looks like</p>

<pre><code>var foundUser = {
    charData: []
}
</code></pre>

<p>which then I load an object from a database using mysql and then I call</p>

<pre><code>_.assignIn(foundUser, rows[0]);
</code></pre>

<p>But I get a few extra properties that I don't need (this isn't solvable by using select)</p>

<p>So I call</p>

<pre><code>foundUser = _.omit(foundUser, ['blah']);
</code></pre>

<p>But it would be nice if I could just do</p>

<pre><code>_.assignIn(foundUser, rows[0]).omit(rows[0], ['blah']);
</code></pre>

<p>But that throws an error, am I doing it wrong or is there another way this can be done?</p>