Finding matching objects in an array of objects?
<pre><code>var set = [{"color":"blue"},{"color":"green"},{"color":"red"},{"color":"green"}];
</code></pre>

<p>I'd like to be able to do something like a db call, <code>set.find({"color":"green"})</code> and have it return an array full of objects that contain that property.</p>
