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