I have an array : var list = ["",""];
that will be filled with strings.
Before I let the user do something, I would like to make sure the array doesn't contain anymore empty entry.
I made a special function that I would like to work like that:
function checkEmptryEntry(array_name)
{
if(arrayContainsEmptyEntry(array_name))
{
return "bad";
}
else
{
return "good";
}
}
How could I do that ?