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