My sample data
var data = { "users":[
{
"firstName":"Ray",
"lastName":"Villalobos",
"joined": [""]
},
{
"firstName":"John",
"lastName":"Jones",
"joined": ["Jan","15","2014"]
}
]};
I would like to check if 'joined' node exists, check if it is empty (as in first users element) and if it has value then concatenate them.
Sincerely appreciate any help..
Thanks