JavaScript Associate — Easy
Key points
- pop() removes the last element of an array
- shift() removes the first element of an array
- splice() can remove elements from anywhere in an array
- delete() does not shift remaining elements in an array
Ready to go further?
Related questions
