Union of Array of Objects in JavaScript and es6?
You could implement your own pretty easily. In this case, we make the function generic, so that it can take arrays of any data type(s) and union them using the comparator function provided. // arr1 and arr2 are arrays of any length; equalityFunc is a function which // can compare two items and return true … Read more