結果 : check if string is part of array javascript