const myArray = [1,2,3,4,5]

myArray.splice(2,1)

 Remove item 3 from the list