The splice() method adds new elements to an array.
Try it