loading...

re: 10 Array Methods You Should Know 👀 VIEW POST

TOP OF THREAD FULL DISCUSSION
re: always have to open docs for slice and splice :)
 

For me slice is nice and handy method to take a part of an array without mutating the original.
splice on the other hand is like a monster, because it mutates the original array.
splice

Code of Conduct Report abuse