Treehouse Quick Tips (HD)

How to Use the Splice in JavaScript


Listen Later

The first argument in the splice function is the index you want to begin with. The second argument is the number if indices to remove.
You can also replace or insert values into your array with the splice function. This is done by simply adding the elements to insert into your function.
...more
View all episodesView all episodes
Download on the App Store

Treehouse Quick Tips (HD)By Treehouse

  • 5
  • 5
  • 5
  • 5
  • 5

5

7 ratings