ran npm run tdd
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
module.exports = intersection = (a, b) => {
|
||||
const intersection = (a, b) => {
|
||||
const s = new Set(b);
|
||||
return a.filter(x => s.has(x));
|
||||
};
|
||||
};
|
||||
module.exports = intersection
|
||||
Reference in New Issue
Block a user