 <pre><code>array.forEach(function(object) { object.current = false; }); </code></pre> <p>or, if <code>forEach</code> is not present, such as on an ES3 implementation:</p> <pre><code>for (var i = 0, len = array.length; i &lt; len; ++i) { array[i].current = false; } </code></pre> <p>or, with <a href="http://lodash.com/docs#forEach" rel="nofollow"><code>_.forEach</code></a> in Lo-Dash</p> <pre><code>_.forEach(array, function(object) { object.current = false; }); </code></pre>