Star
Docs/v5/remove()

remove()

Returns a copy of the collection with the value at key removed.

remove(collection: C, key): C;

A functional alternative to collection.remove(key) which will also work with plain Objects and Arrays as an alternative for delete collectionCopy[key].