結果 : javascript if index exists in array