Add and Remove Elements in an Array Using Splice

Laurie Barth
InstructorLaurie Barth

Share this video with your friends

Send Tweet

Learn how to use splice with one, two or three+ arguments. With one argument splice removes all elements past that index. With two arguments it removes the number of elements specified past the first argument index. With three+ arguments it removes the elements specified and adds all elements passed into the function.