Test migration to jest by hand
Apparently using regular expressions is way easier.
This commit is contained in:
2
test/intersectionWith/intersectionWith.js
Normal file
2
test/intersectionWith/intersectionWith.js
Normal file
@ -0,0 +1,2 @@
|
||||
const intersectionWith = (a, b, comp) => a.filter(x => b.findIndex(y => comp(x, y)) !== -1);
|
||||
module.exports = intersectionWith;
|
||||
Reference in New Issue
Block a user