結果 : javascript check if index exists in array