0
Splicing or slicing?
Do you think slicing or splicing function is the same as delete or remove particular array element or delete element at particular index? It pretty much like returning new array in the determined range. Not deleting.
3 ответов
+ 1
Oliver Pasaribu ,
Please add a tag for the computer language, and share the link to a code example, because you could be talking about a lot of different syntaxes that work differently.
0
Ok friend.
0
Oliver Pasaribu
In JavaScript, they serve different purpose, one alters the original array, and the other does not.