symmetricDifferenceWith
Returns the symmetric difference between two arrays, using a provided function as a comparator.
- Use
Array.prototype.filter()andArray.prototype.findIndex()to find the appropriate values.
Returns the symmetric difference between two arrays, using a provided function as a comparator.
Array.prototype.filter() and Array.prototype.findIndex() to find the appropriate values.