結果 : check if character is in array javascript