I am aware of splice for returning the nth item in an array, but I have had trouble finding a method to do the exact opposite: exclude the nth item from an array.
For example I have an array [5, 2, 9, 4, 3, 2, 3, 3, 5], if i want to exclude the fifth item I would return an array [5, 2, 9, 4, 2, 3, 3, 5]. What is the most efficient way to do this?