splice
We know how to find positions in our array but the next missing step is knowing how to add or remove elements deep in the middle of our array. We are going to use the splice method; One of the most handy methods of the Array class.
Ready to Level Up Your Skills?
Join thousands of learners on 02GEEK and start your journey to becoming a coding expert today!
Enroll Now for Free!Overview
02:27
new Array();
03:37
Array vs. Object
03:18
Setting a size to our Array
03:28
Starting Up With Content
02:18
Working With Arrays
08:36
Editing Array Data
07:07
push
03:48
unshift
03:11
Intergrating Into Our Mini App
04:54
pop and shift
05:51
indexOf vs. lastIndexOf
It's very simple: an array is like a line. imagine that there are 20 people standing in a line every one has there own name.
09:29
splice
09:48
reverse
01:47
[]
01:47
Summary
01:30