This example shows how to use the splice function with an array. In this example, the optional count parameter is not included.
splice