The splice method takes 2 arguments: the index position to start at, and the number of items to remove.

So if you want to remove the first item from an array, you would type:
myArray.splice(0,1)