Nikki Siapno
Nikki Siapno

@NikkiSiapno

6 Tweets Jan 23, 2023
Frontend Development Fundamentals: JavaScript Array Splice Method Explained (With Visuals) πŸ§΅πŸ‘‡
1.
The splice method removes or replaces elements of an array and/or adds new elements in-place.
It returns an array of all elements that were removed. If no elements were removed, it returns an empty array.
1. Add items to the array using splice()
2. Remove items from the array using splice()
3. Replace items from the array using splice()
That's the end of this thread.
I simplify software development and getting into techπŸ’‘
Follow @NikkiSiapno for more free tips and free resources.
If you enjoyed this thread, don't forget to like, comment, and retweet the first tweet.

Loading suggestions...