30 seconds of codeBack to Home
Returns the symmetric difference between two arrays, after applying the provided function to each array element of both.
Set by applying
fn to each array's elements, then use
Array.prototype.filter() on each of them to only keep values not contained in the other.