JavaScript Array Methods
splice()
The splice() methods can be used to remove array elements.
Try it