lodash assign a field in each object in array
<p>I have an array that contains a lot of objects that looks like this: </p>

<pre><code>obj = {name: 'Hello', isUpdated:false};
</code></pre>

<p>Now, I wish to use <code>lodash</code> to assign all <code>isUpdated</code> variables from <code>false</code> to <code>true</code>.</p>

<p>I have been looking at their documentation and found: </p>

<pre><code>_.assignIn(object, [sources])
</code></pre>

<p>However, I'm not quite sure it's what I needed. Maybe I need to combine two different methods?</p>

<p>I was hoping that some of you guys may know, thanks.</p>