how do i select array elements with specific values and perform function javascript
<p>I have an array with several items inside and one of them is location .some of those locations are empty inside with no value. I want to take every one of those empty locations and perform a function . Does any know how to do that?</p>

<p>The array might look like this:</p>

<pre><code>array=[{user:a,user_id:b,date:c,profile_img:d,text:e,contentString:f,url:g,location:""},    
{user:a,user_id:b,date:c,profile_img:d,text:e,contentString:f,url:g,location:""}];
</code></pre>
