'use strict';
/**
* Returns the difference between two arrays,
* after applying the provided function to each array element of both.
*/functiondifferenceBy(a, b, fn) {
var s = newSet(b.map(fn));
return a.map(fn).filter(el => !s.has(el));
}
module.exports = differenceBy;