結果 : check for element in array javascript