This example shows how to use the splice function with an Array. In this example, a specific number of items are removed from the Array.
splice
Array