Use the splice method.
ArrayName.splice(indexValueOfArray,1);
This removes 1 item from the array starting at indexValueOfArray.
Use the splice method.
ArrayName.splice(indexValueOfArray,1);
This removes 1 item from the array starting at indexValueOfArray.