2 lines
78 B
JavaScript
2 lines
78 B
JavaScript
const xProd = (a, b) => a.map(x => b.map(y => [x, y]));
|
|
module.exports = xProd |