splice() method is used on javascript array to remove element.
The syntax is:
splice(start_index, delete_count(optional),item(optional))
One use case I found on twitter 😂
Comment what does it mean and comment your reaction on it!!
Also the splice () method can be used to add, remove, update array elements. To understand it read my tweet 👇
JavaScript splice() method
Thanks...
Top comments (0)