array = array.filter((value, index2) => {
  return index !== index2;
 })
return array