arrays.without
Closed this issue · 1 comments
jkvyff commented
Creates a copy of the input array that does not contain any of the values to be excluded, using SameValueZero for equality comparisons
Checklist
- implementation
- tests
- jsdoc
Details
const result = arrays.without([2, 1, [5], 3], 1, 2, [5])
console.log(result)
> [[5], 3]
References
evanplaice commented
Added in v0.60