Removing an Item using splice()
The splice() method is commonly used to remove elements from an array by specifying the index and the number of elements to remove.
Removing an Item using filter()
The filter() method creates a new array with elements that pass a certain condition, effectively excluding the item to be removed.
Removing an Item using slice() and concat():
The slice() method can be used to split the array into two parts before and after the item to be removed, and then concat() is used to merge the parts back together.