Filtering an object based on its values using lodash <p>How would I use lodash to get the following output ?</p> <pre><code>input = { 'property1' : true, 'property2' : false, 'property3' : false } // only pick those properties that have a false value output = ['property2', 'property3']; </code></pre> <p>I currently have the following in place:</p> <pre><code>var output = []; _.forEach(input, (value, key) =&gt; { if (value === false) { output.push(key); } }); </code></pre>