Edit The Code:
See Result »
Try it Yourself - ©
w3ii.com
The splice() methods can be used to remove array elements.
Try it