Update js-remove-element-from-array.md

The link to the fast removal trick is broken.
I think the correct link should be 'articles/s/js-fast-remove-array-element'
🦆
This commit is contained in:
Isabelle Viktoria Maciohsek
2022-07-06 13:41:21 +03:00
committed by GitHub
parent 32c5a9f7c4
commit 3381ce76d8

View File

@ -40,5 +40,5 @@ Most of the time, `Array.prototype.filter()` is the best option for removing ele
### Alternative options
The previous two options should cover the vast majority of use cases. Yet, there are some other options available for removing elements from an array, which might be preferrable in certain cases. For example, if you like the interface of `Array.prototype.splice()` but need immutability, the [shank snippet](/js/s/shank) might be the solution for you. Similarly, when working with large unsorted arrays, there's a [fast removal trick](/articles/s/js-fast-remove-element-from-array) that might be of interest to you.
The previous two options should cover the vast majority of use cases. Yet, there are some other options available for removing elements from an array, which might be preferrable in certain cases. For example, if you like the interface of `Array.prototype.splice()` but need immutability, the [shank snippet](/js/s/shank) might be the solution for you. Similarly, when working with large unsorted arrays, there's a [fast removal trick](/articles/s/js-fast-remove-array-element) that might be of interest to you.