Implement a function intersectionBy(arrays, iteratee) that computes the intersection of multiple arrays, returning only the unique values that are present in all arrays. The comparison should be based on a provided iteratee function.
The function should:
Example
intersectionBy([[2.1, 1.2], [2.3, 3.4]], Math.floor); // [2] intersectionBy([[{x:1},{x:2}], [{x:2},{x:3}]], o => o.x); // [{x:2}]
JavaScript Function
No test results yet
Click "Run" to execute tests