Edit The Code:
See Result »
Try it Yourself - ©
w3ii.com
The splice() method adds new elements to an array.
Try it