Update and rename remove.md to array-remove.md
This commit is contained in:
@ -1,4 +1,4 @@
|
|||||||
### Remove
|
### Array remove
|
||||||
|
|
||||||
Use `Array.filter()` to find array elements that return truthy values and `Array.reduce()` to remove elements using `Array.splice()`.
|
Use `Array.filter()` to find array elements that return truthy values and `Array.reduce()` to remove elements using `Array.splice()`.
|
||||||
The `func` is invoked with three arguments (`value, index, array`).
|
The `func` is invoked with three arguments (`value, index, array`).
|
||||||
Reference in New Issue
Block a user