3 Replies
Yes
Though depending on the use case you can use filter instead
oh
actually i have an array of cards, and each card has a "remove button"
when pressed, i want the cards to be totally removed from the array list ( not hidden )
is splice more suitable here or filter
both can work, depends on how you set the cards up. Safest is probably to use a stored ID for the card and use filter