結果 : if index exists in array javascript