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?
The array might look like this:
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:""}];