What JSG is saying, is that you should test for one particular Value inside the Array. Ex: If for example, you want to get the first value inside the Array (ondays), then you will do something like this:
if(ondays[0]=="A")//if the first value in the Array is: A.