i would like to know how to resolve the issue "Use of unassigned local variable 'votesArr'. I would like to check if the array is empty first before i do the splitting ',' to store the data inside.
My image is inside the link provided. Please advise. Thanks